From b3cda5e48c39c7b50efb351e20cf7bbcf7b1853d Mon Sep 17 00:00:00 2001 From: Diego Pascual Date: Mon, 30 Oct 2023 11:53:47 +0100 Subject: [PATCH] ci: deploy to prod with tags `RELEASE-*` --- .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 }}