Skip to content

Commit

Permalink
ci: deploy to prod with tags RELEASE-* (#351)
Browse files Browse the repository at this point in the history
  • Loading branch information
diegopf authored Oct 30, 2023
1 parent c722827 commit af8990c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
cloudfront_invalidation_paths: '/*'
# Only tags named as release-* will deploy to production
- name: Deploy to prod
if: startsWith(github.ref, 'refs/tags/latest')
if: startsWith(github.ref, 'refs/tags/RELEASE-')
uses: ./.github/actions/deploy
with:
aws_role: ${{ secrets.AWS_ROLE_PRODUCTION_ACCOUNT }}
Expand Down

0 comments on commit af8990c

Please sign in to comment.