From 412553d65bbdabf2ed997e706cce8868bc2df471 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?W=2EJ=2E=20=E2=80=9Cdysbulic=E2=80=9D=20H?= Date: Tue, 8 Feb 2022 21:01:44 -0500 Subject: [PATCH] =?UTF-8?q?testing=20if=20`log`=20parameter=20affects=20th?= =?UTF-8?q?e=20GitHub=20deployment=20=F0=9F=8D=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/gcp-deploy.yaml | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) 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: |