Skip to content

Commit

Permalink
Create deploy_max.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
lingyuguo authored Apr 22, 2024
1 parent 7a3ac0d commit b34f296
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/deploy_max.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
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 }}

0 comments on commit b34f296

Please sign in to comment.