Amazon Web Service CodeDeploy appspec.yml problems

前端 未结 2 1648
鱼传尺愫
鱼传尺愫 2020-12-25 15:27

I have a Node.js application which is being automatically deployed to Amazon Web Service through Codeship using the CodeDeploy AWS

2条回答
  •  孤独总比滥情好
    2020-12-25 16:12

    There is another way documented in the AWS developer forums, which I think is preferable.

    Use the --ignore-application-stop-failures option with the CLI tool while doing the deployment, it worked perfectly for me.

    Example taken from the forum:

    aws deploy create-deployment --application-name APPLICATION --deployment-group-name GROUP --ignore-application-stop-failures --s3-location bundleType=tar,bucket=BUCKET,key=KEY --description "Ignore ApplicationStop failures due to broken script"
    

    https://forums.aws.amazon.com/thread.jspa?threadID=166904

提交回复
热议问题