Skip to content

Commit

Permalink
ci: use latest tag to deploy to prod
Browse files Browse the repository at this point in the history
  • Loading branch information
diegopf committed Oct 30, 2023
1 parent 8040432 commit 565f7eb
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/release-')
if: startsWith(github.ref, 'refs/tags/latest')
uses: ./.github/actions/deploy
with:
aws_role: ${{ secrets.AWS_ROLE_PRODUCTION_ACCOUNT }}
Expand Down

0 comments on commit 565f7eb

Please sign in to comment.