-
Notifications
You must be signed in to change notification settings - Fork 28
build: devnet-contract-deploy #222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 1 commit
4d61db0
d698ed8
2ed6bcf
ee2521e
8d1c634
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| name: Deploy devnet contracts | ||
|
|
||
| on: workflow_dispatch | ||
|
|
||
| jobs: | ||
| contracts: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v4 | ||
| with: | ||
| context: app | ||
|
|
||
| - name: Install Doppler CLI | ||
| uses: dopplerhq/cli-action@v1 | ||
|
|
||
| - name: Deploy contracts | ||
| id: deploy-contracts | ||
| env: | ||
| DOPPLER_TOKEN: ${{ secrets.DEVNET_DOPPLER_TOKEN_CONTRACTS_DEPLOY }} | ||
| run: | | ||
| cd hardhat | ||
| npm ci | ||
| doppler run -- npx hardhat deploy --network devnet | ||
|
arsen3d marked this conversation as resolved.
Outdated
|
||
|
|
||
| - name: Commit and push | ||
| run: | | ||
|
arsen3d marked this conversation as resolved.
|
||
| git add . | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Optional, but might be good to target the directory where we expect changes. Helps to document it a bit better.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We may need to generate binding, which is not in hardhat directory
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think @bgins means:
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Have you identified which files are going to be added here?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Folders:
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The you have your list for |
||
| git commit -m "Contract Migration Updated" | ||
|
arsen3d marked this conversation as resolved.
Outdated
|
||
| git push | ||
|
arsen3d marked this conversation as resolved.
Outdated
|
||
Uh oh!
There was an error while loading. Please reload this page.