From 6c58b32efb121e8fc50562a326392400d4adc179 Mon Sep 17 00:00:00 2001 From: ThaMunsta Date: Sat, 15 Mar 2025 14:29:49 -0400 Subject: [PATCH] test filters (this shouldnt run do anything) --- .gitea/workflows/demo.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml index b1ffb05..b32c7ee 100644 --- a/.gitea/workflows/demo.yaml +++ b/.gitea/workflows/demo.yaml @@ -9,6 +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') env: STACK_NAME: bookstack PORTAINER_TOKEN: ${{ secrets.PORTAINER_TOKEN }} @@ -25,6 +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') env: STACK_NAME: bookstack PORTAINER_TOKEN: ${{ secrets.PORTAINER_TOKEN }} @@ -37,6 +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') env: STACK_NAME: bookstack PORTAINER_TOKEN: ${{ secrets.PORTAINER_TOKEN }}