From b1abe7bc2010666b79690d51eb0c46945907c255 Mon Sep 17 00:00:00 2001 From: Peter Wall Date: Mon, 8 Jul 2024 15:01:50 +0200 Subject: [PATCH] fix typo ref -> ref_name --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e634940..ea5fe5d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -71,17 +71,17 @@ jobs: RUBY_VERSION=${{ steps.ruby-version.outputs.ruby_version }} REVISION=${{ github.sha }} context: . - push: ${{ github.ref == github.event.repository.default_branch }} + push: ${{ github.ref_name == github.event.repository.default_branch }} tags: | ${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.${{ secrets.AWS_REGION }}.amazonaws.com/pipeline:sha-${{ github.sha }} deploy: - if: github.ref == github.event.repository.default_branch + if: github.ref_name == github.event.repository.default_branch needs: - test - prepare-app-image concurrency: - group: deploy-to-production-${{ github.ref }} + group: deploy-to-production cancel-in-progress: false runs-on: ubuntu-latest