fix: exclude github-runner from dc up -d to avoid self-kill during deploy

This commit is contained in:
ginnoir
2026-06-04 14:21:08 -05:00
parent 76487a28c8
commit c741310a1e
+4 -1
View File
@@ -23,7 +23,10 @@ jobs:
- name: Pull and apply compose
run: |
$COMPOSE pull
$COMPOSE up -d
# Exclude github-runner from up -d — recreating the container that
# is running this job would kill the workflow mid-step.
SERVICES=$($COMPOSE config --services | grep -v '^github-runner$' | tr '\n' ' ')
$COMPOSE up -d $SERVICES
- name: Reload Caddyfile
run: |