Skip to content

Commit e71105e

Browse files
authored
fix: gh action (#221)
* fix: deployment gh action * fix: yaml format * fix gh action
1 parent a3207b3 commit e71105e

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

Diff for: .github/workflows/build_prod.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@
44
name: Build & Push Docker Image to AWS ECR
55

66
on:
7-
push:
8-
tags:
9-
- v1.*
7+
release:
8+
types: [published]
109

1110
env:
1211
AWS_REGION: ${{ secrets.AWS_REGION }}

Diff for: .github/workflows/deploy_prod.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@
44
name: Deploy ECS Prod
55

66
on:
7-
push:
8-
tags:
9-
- v1.*
7+
release:
8+
types: [published]
109

1110
env:
1211
AWS_REGION: ${{ secrets.AWS_REGION }}

0 commit comments

Comments
 (0)