From f8ed70b322d5303689d2ef776f7216db41fae682 Mon Sep 17 00:00:00 2001 From: Zack Siri Date: Wed, 27 Nov 2024 10:25:15 +0700 Subject: [PATCH] Tweak var for refs --- .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 80ab04c..25cd566 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -73,8 +73,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: https://opsmaru.com INSTELLAR_PACKAGE_TOKEN: ${{secrets.INSTELLAR_PACKAGE_TOKEN}} INSTELLAR_AUTH_TOKEN: ${{secrets.INSTELLAR_AUTH_TOKEN}} \ No newline at end of file