Skip to content

Commit b34f296

Browse files
authored
Create deploy_max.yaml
1 parent 7a3ac0d commit b34f296

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/deploy_max.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Deploy max
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- beta
8+
- develop
9+
10+
jobs:
11+
build:
12+
if: ${{ github.event_name == 'push' && github.repository_owner == 'HXSecurity' }}
13+
runs-on: ubuntu-latest
14+
strategy:
15+
max-parallel: 4
16+
steps:
17+
- name: deploy to cluster B
18+
uses: tscuite/kubectl-helm-action@main
19+
env:
20+
MAX: true
21+
PROJECT: mysql
22+
TOKEN_SCA: ${{ secrets.MAX_TOKEN_SCA }}
23+
KUBE_CONFIG_DATA: ${{ secrets.KUBE_CONFIG_TEST_DATA }}

0 commit comments

Comments
 (0)