Skip to content

Commit

Permalink
fix: force branch name in GH
Browse files Browse the repository at this point in the history
  • Loading branch information
jackwaller committed Dec 10, 2024
1 parent 8b02eeb commit 75ff51d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
kubectl rollout restart -n $BRANCH_NAME deployment/pyth-crosschain-cranker-bot

0 comments on commit 75ff51d

Please sign in to comment.