From 75ff51d50dd17d2136796114edb530680e3cd26c Mon Sep 17 00:00:00 2001 From: Jack Waller Date: Tue, 10 Dec 2024 11:57:11 +1000 Subject: [PATCH] fix: force branch name in GH --- .github/workflows/master.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 64545bef3f..63d8e4725e 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -30,7 +30,7 @@ jobs: ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }} ECR_REPOSITORY: pyth-crosschain IMAGE_TAG: ${{ github.sha }} - BRANCH_NAME: ${{ github.ref_name }} + BRANCH_NAME: mainnet-beta with: context: . push: true @@ -59,6 +59,6 @@ jobs: - name: Restart deployment env: - BRANCH_NAME: ${{ github.ref_name }} + BRANCH_NAME: mainnet-beta run: | - kubectl rollout restart -n mainnet-beta deployment/pyth-crosschain-cranker-bot \ No newline at end of file + kubectl rollout restart -n $BRANCH_NAME deployment/pyth-crosschain-cranker-bot \ No newline at end of file