From e21215c59c6d7d7141fbf6fd7db61aabe853596d Mon Sep 17 00:00:00 2001 From: Zack Siri Date: Wed, 8 Nov 2023 17:20:56 +0700 Subject: [PATCH] Fix github ref Signed-off-by: Zack Siri --- .github/workflows/deployment.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index 243c7508..a2a64270 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -76,8 +76,8 @@ jobs: run: pakman push shell: alpine.sh {0} env: - WORKFLOW_REF: ${{ github.ref }} - WORKFLOW_SHA: ${{ github.sha }} + WORKFLOW_REF: ${{ github.event.workflow_run.head_branch }} + WORKFLOW_SHA: ${{ github.event.workflow_run.head_sha }} INSTELLAR_ENDPOINT: ${{vars.INSTELLAR_ENDPOINT}} INSTELLAR_PACKAGE_TOKEN: ${{secrets.INSTELLAR_PACKAGE_TOKEN}} INSTELLAR_AUTH_TOKEN: ${{secrets.INSTELLAR_AUTH_TOKEN}}