We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a52e6f2 commit abf927cCopy full SHA for abf927c
1 file changed
.github/workflows/deploy.yml
@@ -27,8 +27,9 @@
27
name: Deploy to Amazon ECS
28
29
on:
30
- release:
31
- types: [created]
+ push:
+ tags:
32
+ - '*'
33
34
env:
35
AWS_REGION: "us-east-2" # set this to your preferred AWS region, e.g. us-west-1
@@ -55,7 +56,8 @@ jobs:
55
56
- name: Login to Amazon ECR
57
id: login-ecr
58
uses: aws-actions/amazon-ecr-login@v1
- - uses: actions/checkout@v3
59
+ - name: Checkout repo
60
+ uses: actions/checkout@v3
61
- name: Add GITHUB_SHA_SHORT env property with commit short sha
62
run: echo "GITHUB_SHA_SHORT=`echo ${GITHUB_SHA} | cut -c1-8`" >> $GITHUB_ENV
63
- name: Push image to Amazon ECR
0 commit comments