Bridgenet - deploy eth contracts #49
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Bridgenet - deploy eth contracts | |
on: | |
workflow_run: | |
workflows: ["Solidity tests"] | |
types: [completed] | |
branches: [master] | |
jobs: | |
compile: | |
name: Compile and deploy contracts | |
runs-on: self-hosted | |
if: ${{ github.event.workflow_run.conclusion == 'success' }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Setup node | |
uses: asdf-vm/actions/install@v2 | |
- name: Install dependencies | |
shell: bash | |
run: make eth-deps | |
- name: Compile contracts | |
shell: bash | |
run: make compile-eth | |
- name: Deploy contracts | |
shell: bash | |
run: make deploy-eth NETWORK=bridgenet |