diff options
Diffstat (limited to '.github/workflows/deploy.yaml')
| -rw-r--r-- | .github/workflows/deploy.yaml | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index e183191..939c811 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -1,31 +1,22 @@ name: deploy systems on: - push: - branches: [main] + check_suite: + types: [completed] workflow_dispatch: jobs: - ci: - uses: ./.github/workflows/ci.yaml - secrets: inherit - deploy: - needs: ci runs-on: ubuntu-latest + # only run after garnix + if: github.event.app.slug == 'garnix-ci' steps: - uses: actions/checkout@v4 - name: install nix uses: nixbuild/nix-quick-install-action@v26 - - name: setup cachix - uses: cachix/cachix-action@v12 - with: - name: getchoo - authToken: ${{ secrets.CACHIX_AUTH_TOKEN }} - - name: connect to tailscale uses: tailscale/github-action@v2 with: |
