chore(workflow): 修改基础镜像发布为手动触发- 将工作流名称从自动发布更新为手动触发 #8
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 max | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - beta | |
| - develop | |
| jobs: | |
| build: | |
| if: ${{ github.event_name == 'push' && github.repository_owner == 'HXSecurity' }} | |
| runs-on: ubuntu-latest | |
| strategy: | |
| max-parallel: 4 | |
| steps: | |
| - name: deploy to cluster B | |
| uses: tscuite/kubectl-helm-action@main | |
| env: | |
| MAX: true | |
| PROJECT: mysql | |
| TOKEN_SCA: ${{ secrets.MAX_TOKEN_SCA }} | |
| KUBE_CONFIG_DATA: ${{ secrets.KUBE_CONFIG_TEST_DATA }} |