From 565f7eb95b507c5f7fba76e5521ac06359fd49c1 Mon Sep 17 00:00:00 2001 From: Diego Pascual Date: Mon, 30 Oct 2023 11:14:31 +0100 Subject: [PATCH] ci: use `latest` tag to deploy to prod --- .github/workflows/build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index ca47dc76..b5dc30bd 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -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 }}