Skip to content

Commit 9077a9a

Browse files
committed
update readme [no ci]
1 parent bf18db4 commit 9077a9a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ jobs:
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
```

0 commit comments

Comments
 (0)