diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml index ed21767..ca9acb5 100644 --- a/.gitea/workflows/demo.yaml +++ b/.gitea/workflows/demo.yaml @@ -9,7 +9,7 @@ jobs: steps: - run: docker pull linuxserver/bookstack #optional? probably faster if done first... - name: Fetch stack ID from Portainer - if: contains(github.event.head_commit.message, 'redeploy') # looks lke this works! + if: contains(github.event.head_commit.message, 'run_redeploy') env: STACK_NAME: bookstack PORTAINER_TOKEN: ${{ secrets.PORTAINER_TOKEN }} @@ -26,7 +26,7 @@ jobs: echo "Got stack ID: $STACK_ID and Endpoint ID: $ENDPOINT_ID" - name: Fetch stack configuration - if: contains(github.event.head_commit.message, 'redeploy') + if: contains(github.event.head_commit.message, 'run_redeploy') env: STACK_NAME: bookstack PORTAINER_TOKEN: ${{ secrets.PORTAINER_TOKEN }} @@ -39,7 +39,7 @@ jobs: echo "Fetched stack configuration and saved it to stack.yml" - name: Redeploy stack in Portainer - if: contains(github.event.head_commit.message, 'redeploy') + if: contains(github.event.head_commit.message, 'run_redeploy') env: STACK_NAME: bookstack PORTAINER_TOKEN: ${{ secrets.PORTAINER_TOKEN }}