summaryrefslogtreecommitdiff
path: root/.github/workflows/deploy.yaml
diff options
context:
space:
mode:
authorseth <[email protected]>2023-11-13 20:45:35 -0500
committerseth <[email protected]>2023-11-14 02:55:54 +0000
commit3e5263a327a3261d3d9957d723e9dc0e1d96e094 (patch)
tree662921851c149f1dd61252584081dc754059732d /.github/workflows/deploy.yaml
parente1387ae4821a95efabb356581f2234ef4aab42cb (diff)
ci!: gha -> garnix
compiling arm stuff with qemu is way too slow lol
Diffstat (limited to '.github/workflows/deploy.yaml')
-rw-r--r--.github/workflows/deploy.yaml17
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: