From c741310a1e55257b76b3f3d3128d85a94e70785d Mon Sep 17 00:00:00 2001 From: ginnoir Date: Thu, 4 Jun 2026 14:21:08 -0500 Subject: [PATCH] fix: exclude github-runner from dc up -d to avoid self-kill during deploy --- .github/workflows/deploy.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 695ed0b..295ee3f 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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: |