From d1a8c4f7035188668f01a13731d58338e2edd1c6 Mon Sep 17 00:00:00 2001 From: ThaMunsta Date: Sat, 15 Mar 2025 15:05:33 -0400 Subject: [PATCH] another --- .gitea/workflows/redeploy.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/redeploy.yaml b/.gitea/workflows/redeploy.yaml index 671009c..1bf2913 100644 --- a/.gitea/workflows/redeploy.yaml +++ b/.gitea/workflows/redeploy.yaml @@ -7,7 +7,10 @@ jobs: Update-and-Redeploy-Stack: runs-on: synology steps: - - run: docker pull linuxserver/bookstack #optional? probably faster if done first... + - name: Prefetch Docker Image(s) + if: contains(github.event.head_commit.message, 'run_redeploy') + run: | + docker pull linuxserver/bookstack #optional? probably faster if done first... - name: Fetch stack ID from Portainer if: contains(github.event.head_commit.message, 'run_redeploy') @@ -68,4 +71,5 @@ jobs: echo $DEPLOY_RESPONSE - name: Status check - - run: echo "📋 This job's status is ${{ job.status }}." \ No newline at end of file + run: | + echo "📋 This job's status is ${{ job.status }}." \ No newline at end of file