ok its not stricts so lets make sure the redeploy message is intentional
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 8s
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 8s
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user