Skip to content

Commit

Permalink
Update .github/workflows/devnet_deploy_contracts.yml
Browse files Browse the repository at this point in the history
Co-authored-by: Brian Ginsburg <[email protected]>
  • Loading branch information
arsen3d and bgins committed Jul 2, 2024
1 parent 2ed6bcf commit ee2521e
Showing 1 changed file with 17 additions and 6 deletions.
23 changes: 17 additions & 6 deletions .github/workflows/devnet_deploy_contracts.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
name: Deploy devnet contracts

on: workflow_dispatch
name: Deploy Devnet contracts

# on: workflow_dispatch
on:
push:
branches:
- arsen/fix-pow-proxy-update-2
jobs:
contracts:
runs-on: ubuntu-latest
Expand All @@ -22,9 +25,17 @@ jobs:
cd hardhat
npm ci
doppler run -- npx hardhat deploy --network devnet
cd ..
- name: Generate Go bindings
run: |
./stack go-bindings
- name: Commit and push
run: |
git add .
git checkout -b devnet/chore-updates-after-deploying-contracts
git add pkg/web3/bindings
git add hardhat/deployments
git add hardhat/.openzeppelin
git commit -m "chore: Contract Migration Updated"
git push
git push -u origin devnet/chore-updates-after-deploying-contracts

0 comments on commit ee2521e

Please sign in to comment.