diff --git a/.github/workflows/gcp-deploy.yaml b/.github/workflows/gcp-deploy.yaml index 455260c7..f0a8ad20 100644 --- a/.github/workflows/gcp-deploy.yaml +++ b/.github/workflows/gcp-deploy.yaml @@ -41,10 +41,9 @@ jobs: "Test instance deployment for PR #${{github.event.number}} \ of ${{github.event.pull_request.head.label}} \ by ${{github.event.pull_request.user.login}}" - # ref: ${{github.event.pull_request.head.sha}} - # ref: refs/heads/${{github.event.pull_request.head.ref}} - ref: ${{github.event.after}} # SHA of the last commit + ref: ${{github.head_ref}} no_override: true + logs: https://github.com/${{github.repository}}/${{github.head_ref}}/commit/${{github.event.after}}/checks cancel-previous: name: Cancel Existing Runs @@ -92,14 +91,6 @@ jobs: FRONTEND_TAG: ${{steps.third.outputs.FRONTEND_TAG}} steps: - - name: Trying to find the right ref… - run: | - echo "github.head_ref: ${{github.head_ref}}" - echo "github.event.pull_request.head.sha: ${{github.event.pull_request.head.sha}}" - echo "github.event.pull_request.head.ref: ${{github.event.pull_request.head.ref}}" - echo "env.GITHUB_SHA: ${{env.GITHUB_SHA}}" - echo "env.GITHUB_REF: ${{env.GITHUB_REF}}" - - name: First Intepolation of Variables id: first run: |