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