【发布时间】:2021-02-16 12:36:00
【问题描述】:
我正在尝试通过代码部署将 python 应用程序部署到 ec2 实例 但是在部署过程中我遇到了这个错误
部署失败,因为此时指定的文件已存在 位置:/home/ubuntu/yello/manage.py
附加我的 appsecfile 也尝试过覆盖但没有成功
version: 0.0
os: linux
files:
- source: /
destination: /home/ubuntu/yello
overwrite: true
hooks:
AfterInstall:
- location: script/services.sh
timeout: 300
runas: ubuntu
有人可以帮忙吗?
【问题讨论】:
标签: amazon-web-services aws-codepipeline aws-code-deploy aws-codecommit bitbucket-aws-code-deploy