Skip to content

Commit

Permalink
feat(deployment): add schedule and set branch for full bmr testnet run (
Browse files Browse the repository at this point in the history
  • Loading branch information
CyrusVorwald authored Sep 26, 2022
2 parents 68c2ccb + b1bbc4b commit 0b1d04c
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/deploy-testnet-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,12 @@ name: 'Deployment for Testnet'

on:
workflow_dispatch:
push:
branches:
- feature/442-deploy-register-token
workflow_call:

schedule:
- cron: '29 11 * * 4'
jobs:
deploy-javascore:
uses: icon-project/icon-bridge/.github/workflows/deploy-javascore-testnet.yml@feature/442-deploy-register-token
uses: icon-project/icon-bridge/.github/workflows/deploy-javascore-testnet.yml@main
secrets:
AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}
AWS_REGION: ${{ secrets.AWS_REGION }}
Expand All @@ -19,7 +17,7 @@ jobs:
GOLOOP_RPC_URI: ${{ secrets.GOLOOP_RPC_URI }}
GOLOOP_RPC_KEY_PASSWORD: ${{ secrets.GOLOOP_RPC_KEY_PASSWORD }}
deploy-solidity:
uses: icon-project/icon-bridge/.github/workflows/deploy-solidity-testnet.yml@feature/442-deploy-register-token
uses: icon-project/icon-bridge/.github/workflows/deploy-solidity-testnet.yml@main
secrets:
AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}
AWS_REGION: ${{ secrets.AWS_REGION }}
Expand All @@ -31,7 +29,7 @@ jobs:
BSC_BMC_NET: ${{ secrets.BSC_BMC_NET }}
deploy-token-javascore:
needs: [deploy-javascore]
uses: icon-project/icon-bridge/.github/workflows/deploy-token-javascore.yml@feature/442-deploy-register-token
uses: icon-project/icon-bridge/.github/workflows/deploy-token-javascore.yml@main
secrets:
AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}
AWS_REGION: ${{ secrets.AWS_REGION }}
Expand All @@ -42,7 +40,7 @@ jobs:
GOLOOP_RPC_KEY_PASSWORD: ${{ secrets.GOLOOP_RPC_KEY_PASSWORD }}
link-register-token:
needs: [deploy-javascore,deploy-solidity]
uses: icon-project/icon-bridge/.github/workflows/link-register-coin.yml@feature/442-deploy-register-token
uses: icon-project/icon-bridge/.github/workflows/link-register-coin.yml@main
secrets:
AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}
AWS_REGION: ${{ secrets.AWS_REGION }}
Expand All @@ -57,7 +55,7 @@ jobs:
BSC_BMC_NET: ${{ secrets.BSC_BMC_NET }}
deploy-bmr:
needs: [link-register-token]
uses: icon-project/icon-bridge/.github/workflows/deploy-bmr.yml@feature/442-deploy-register-token
uses: icon-project/icon-bridge/.github/workflows/deploy-bmr.yml@main
secrets:
AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}
AWS_REGION: ${{ secrets.AWS_REGION }}
Expand Down

0 comments on commit 0b1d04c

Please sign in to comment.