Merge pull request #2866 from nervosnetwork/develop #481
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 testnet | |
| on: | |
| push: | |
| branches: | |
| - testnet | |
| 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: testnet | |
| k8s-workload: ${{ matrix.workload }} | |
| image-name: ${{ needs.build.outputs.image-name }} | |
| image-tag: ${{ needs.build.outputs.image-tag }} | |
| secrets: inherit |