Skip to content

Commit

Permalink
Add git branch in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ClementWalter committed Jul 9, 2023
1 parent 4ef6ad9 commit d9b6e1e
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/deployments_staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,13 @@ jobs:
run: |
git config user.name "${{ github.actor }}"
git config user.email "${{ github.actor }}@users.noreply.github.com"
git fetch origin testnet
git checkout testnet
git merge staging --no-edit
git push
git reset staging --hard
git push origin testnet -f
merge-testnet2:
name: Merge Staging to Testnet
name: Merge Staging to Testnet2
runs-on: ubuntu-latest

steps:
Expand All @@ -34,9 +35,10 @@ jobs:
run: |
git config user.name "${{ github.actor }}"
git config user.email "${{ github.actor }}@users.noreply.github.com"
git fetch origin testnet2
git checkout testnet2
git merge staging --no-edit
git push
git reset staging --hard
git push origin testnet2 -f
merge-goerli:
name: Merge Staging to Goerli
Expand All @@ -50,6 +52,7 @@ jobs:
run: |
git config user.name "${{ github.actor }}"
git config user.email "${{ github.actor }}@users.noreply.github.com"
git fetch origin goerli
git checkout goerli
git merge staging --no-edit
git push
git reset staging --hard
git push origin goerli -f

0 comments on commit d9b6e1e

Please sign in to comment.