File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 6363 - name : Checkout
6464 uses : actions/checkout@v4
6565 - name : Generate source bundle
66- run : echo ${{ github.ref_name }} > ENVIRONMENT && zip -r bundle.zip . -x '*.git*'
66+ run : zip -r bundle.zip . -x '*.git*'
6767 - name : Deploy
68- uses : tmshkr/blue-green-beanstalk@latest
68+ uses : tmshkr/blue-green-beanstalk@v3
6969 with :
7070 app_name : " test-app"
7171 aws_access_key_id : ${{ secrets.AWS_ACCESS_KEY_ID }}
@@ -75,10 +75,10 @@ jobs:
7575 deploy : true
7676 green_env : " my-green-env"
7777 platform_branch_name : " Docker running on 64bit Amazon Linux 2023"
78- production_cname : " blue-green-beanstalk-prod" # must be available
78+ production_cname : " blue-green-beanstalk-prod"
7979 promote : ${{ github.ref_name == 'main' }}
8080 source_bundle : " bundle.zip"
81- staging_cname : " blue-green-beanstalk-staging" # must be available
82- version_description : " Deployed by ${{ github.triggering_actor }}"
81+ staging_cname : " blue-green-beanstalk-staging"
82+ version_description : ${{ github.event.head_commit.message }}
8383 version_label : ${{ github.ref_name }}-${{ github.sha }}
8484` ` `
You can’t perform that action at this time.
0 commit comments