diff options
| author | seth <[email protected]> | 2023-12-22 21:16:49 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2023-12-23 03:09:13 +0000 |
| commit | 0405273d9330d881ca73b0f232d7bc4a81a1b998 (patch) | |
| tree | 3f42b219351314f41f589809128908b18925aa04 /.github/workflows/deploy.yaml | |
| parent | 4cc4e1fec5775a15663eb4d91d171276aa04ecf4 (diff) | |
actions: use nix-eval-jobs for ci
Diffstat (limited to '.github/workflows/deploy.yaml')
| -rw-r--r-- | .github/workflows/deploy.yaml | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 695d63c..98b3b1d 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -1,21 +1,21 @@ name: Deploy infrastructure on: - check_suite: - types: [completed] + push: + branches: [main] workflow_dispatch: jobs: + ci: + uses: ./.github/workflows/ci.yaml + secrets: inherit + nixos: + needs: ci + name: Deploy NixOS systems 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 >= 10 - && github.event.check_suite.head_branch == 'main' - concurrency: group: deploy cancel-in-progress: true @@ -49,9 +49,9 @@ jobs: --command deploy opentofu: - name: Apply OpenTofu plan needs: nixos + name: Apply OpenTofu plan runs-on: ubuntu-latest concurrency: |
