我在Azure php webapp上安装了Composer Site扩展到现在。 我需要也可以运行grunt任务的自定义部署。所以我在项目根目录下创建了.deployment和deploy.sh文件。但是那个deploy.sh没有被拾取。删除Composer SiteExtension后Azure webapp部署失败
.deployment文件内容:
[config]
command = bash deploy.sh
望着部署日志,我觉得这
2017-05-04T06:21:03.9301086Z,Updating submodules.,8bc3029f-d77b-4c1e-860f-a3d439d7a354,0
2017-05-04T06:21:03.9926050Z,Preparing deployment for commit id 'e2b45fb52b'.,61c286b1-5c00-4c11-ae14-54e0711d6857,0
2017-05-04T06:21:04.2632947Z,Running custom deployment command...,e71c397e-bc63-4357-abc4-acd49bc2041d,0
2017-05-04T06:21:04.3101663Z,Running deployment command...,24db1c4f-8a51-463b-8c4a-ee040bc5dfd8,0
2017-05-04T06:21:04.3101663Z,Command: D:\home\SiteExtensions\ComposerExtension\Hooks\deploy.cmd,,0
2017-05-04T06:21:04.4039215Z,The system cannot find the path specified.,,1
2017-05-04T06:21:04.4195462Z,The system cannot find the path specified.\r\nD:\Program Files (x86)\SiteExtensions\Kudu\62.60430.2807\bin\Scripts\starter.cmd D:\home\SiteExtensions\ComposerExtension\Hooks\deploy.cmd,,2
好像某处触发作曲家网站推广仍然被部署过程中被调用。
如何完全删除Composer网站扩展并使用我的自定义部署脚本deploy.sh?提前致谢。