deploy guard: expose binary
All checks were successful
Build and Deploy / mreow (push) Successful in 1m21s
Build and Deploy / yarn (push) Successful in 45s
Build and Deploy / muffin (push) Successful in 1m26s

This commit is contained in:
2026-04-22 07:28:56 -04:00
parent b0b4bcb0b3
commit b21bb3b33b
3 changed files with 28 additions and 5 deletions

View File

@@ -65,10 +65,15 @@ jobs:
- name: Deploy guard preflight
run: |
# The gitea runner runs on muffin itself, so the /nix/store path
# produced by "Build muffin" is already resolvable on the target.
# SSH to root is still needed so the check can read agenix secrets
# (e.g. /run/agenix/jellyfin-api-key is mode 0400 root).
guard=$(readlink -f result)/sw/bin/deploy-guard-check
ssh -i /run/agenix/ci-deploy-key \
-o StrictHostKeyChecking=yes \
-o UserKnownHostsFile=/etc/ci-known-hosts \
root@server-public deploy-guard-check
root@server-public "$guard"
- name: Deploy via deploy-rs
run: |