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