diff options
| author | seth <[email protected]> | 2023-12-10 08:56:11 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2023-12-11 08:44:48 -0500 |
| commit | ad840d3fab4d2e8dc27d265bbc0a08ed7e85c3a5 (patch) | |
| tree | 2db39df327e5b9621fd41f1d8d1a8ac3dac8ceb6 /.github/workflows/deploy.yaml | |
| parent | 8ac8de2593a9f5e3c160f95358b4db75d3a04640 (diff) | |
ci: use gha & attic for building/caching
Diffstat (limited to '.github/workflows/deploy.yaml')
| -rw-r--r-- | .github/workflows/deploy.yaml | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 9caf2df..113a847 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -1,29 +1,30 @@ name: Deploy systems on: - check_suite: - types: [completed] + push: + branches: [main] workflow_dispatch: jobs: + ci: + name: CI + uses: ./.github/workflows/ci.yaml + secrets: inherit + deploy: + name: Deploy all + needs: ci runs-on: ubuntu-latest concurrency: group: deploy cancel-in-progress: true - # 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 - name: Install Nix - uses: nixbuild/nix-quick-install-action@v26 + uses: DeterminateSystems/nix-installer-action@v9 - name: Setup local Nix cache uses: DeterminateSystems/magic-nix-cache-action@v2 |
