From af8990cc20b441bfccd2d0c0294112f71d15fe9b Mon Sep 17 00:00:00 2001 From: Diego Pascual Date: Mon, 30 Oct 2023 11:54:45 +0100 Subject: [PATCH] ci: deploy to prod with tags `RELEASE-*` (#351) --- .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 b5dc30bd..2060df27 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/latest') + if: startsWith(github.ref, 'refs/tags/RELEASE-') uses: ./.github/actions/deploy with: aws_role: ${{ secrets.AWS_ROLE_PRODUCTION_ACCOUNT }}