我有一个django项目,我已经在azure上托管。我需要添加每个部署执行的部署。我使用kuduscript生成自定义部署脚本,现在我的文件结构如下所示:
- site/
- app/
- manage.py
- requirements.txt
- .deployment
- deploy.cmd
我没有对.deployment或deploy.cmd文件做任何更改。但当我跑的时候
git push azure master
我收到以下错误消息:
Running custom deployment command...
Not setting execute permissions for deploy.cmd
Running deployment command...
/opt/Kudu/bin/Scripts/starter.sh: line2: exec: deploy.cmd: not found
App container will begin restart within 10 seconds
Error - Changes committed to remote repository but deployment to website failed
知道为什么找不到deploy.cmd吗?
暂无答案!
目前还没有任何答案,快来回答吧!