Merge pull request #2798 from nervosnetwork/testnet #272
This file contains hidden or 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: Deploy to mainnet | |
| on: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| build: | |
| uses: ./.github/workflows/build.yml | |
| secrets: inherit | |
| deploy-update: | |
| needs: build | |
| strategy: | |
| matrix: | |
| workload: [ckb-explorer-api, ckb-explorer-poolsyncer, ckb-explorer-scheduler, ckb-explorer-blocksyncer, ckb-explorer-worker] | |
| uses: ./.github/workflows/update-image.yml | |
| with: | |
| k8s-namespace: mainnet | |
| k8s-workload: ${{ matrix.workload }} | |
| image-name: ${{ needs.build.outputs.image-name }} | |
| image-tag: ${{ needs.build.outputs.image-tag }} | |
| secrets: inherit |