From 00455716d9e40c7839ad21ee9b4709f41f4785fb Mon Sep 17 00:00:00 2001 From: Menny Even Danan Date: Thu, 26 Mar 2020 10:46:07 -0400 Subject: fix deployment ref argument We need to specify which ref/branch we are using since GH will default to master if the SHA is the master HEAD. --- .github/workflows/deployment_promote.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github/workflows') diff --git a/.github/workflows/deployment_promote.yml b/.github/workflows/deployment_promote.yml index 39282fe8a..f94b71420 100644 --- a/.github/workflows/deployment_promote.yml +++ b/.github/workflows/deployment_promote.yml @@ -24,7 +24,7 @@ jobs: uses: ./.github/actions/deploy-request with: sha: ${{ github.sha }} - ref: ${{ github.ref }} + ref: ${{ matrix.refname }} new_deploy: false api_username: ${{ secrets.BOT_MASTER_RW_GITHUB_USERNAME }} api_token: ${{ secrets.BOT_MASTER_RW_GITHUB_TOKEN }} -- cgit v1.2.3