diff options
Diffstat (limited to '.github/workflows/deploy.yaml')
| -rw-r--r-- | .github/workflows/deploy.yaml | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 7685b3f..8c3ecac 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -1,14 +1,20 @@ name: deploy systems on: - push: - branches: [main] + check_suite: + types: [completed] workflow_dispatch: jobs: deploy: runs-on: ubuntu-latest + # https://github.com/sellout/bash-strict-mode/commit/9bf1d65c2f786a9887facfcb81e06d8b8b5f4667 + if: github.event.check_suite.app.name == 'Garnix CI' + && github.event.check_suite.conclusion == 'success' + && github.event.check_suite.latest_check_runs_count >= 12 + && github.event.check_suite.head_branch == 'main' + steps: - uses: actions/checkout@v4 |
