Skip to content

Commit

Permalink
Fix prod deploy config and reset staging after main merge
Browse files Browse the repository at this point in the history
  • Loading branch information
ClementWalter committed Jul 9, 2023
1 parent f4b0b1e commit a987522
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/deployments_prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,18 @@ jobs:
git config user.email "${{ github.actor }}@users.noreply.github.com"
git fetch origin mainnet
git checkout mainnet
git reset staging --hard
git reset main --hard
git push origin mainnet -f
merge-staging:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- run: |
git config user.name "${{ github.actor }}"
git config user.email "${{ github.actor }}@users.noreply.github.com"
git fetch origin staging
git checkout staging
git reset main --hard
git push origin staging -f

0 comments on commit a987522

Please sign in to comment.