lets try a secret
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 9s
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 9s
This commit is contained in:
@@ -9,10 +9,12 @@ jobs:
|
||||
steps:
|
||||
- run: docker pull linuxserver/bookstack #optional? probably faster if done first...
|
||||
- name: Fetch stack ID from Portainer
|
||||
with:
|
||||
PORTAINER_API_KEY: ${{ secrets.PORTAINER_API_KEY }}
|
||||
run: |
|
||||
STACK_NAME="bookstack"
|
||||
PORTAINER_API_URL="https://portainer.dev.nervesocket.com/api"
|
||||
PORTAINER_TOKEN="ptr_QkR9kDZuoC1QOwp+axwJPkK5av4NlmyjihS3JmTdPww="
|
||||
PORTAINER_TOKEN="${{ secrets.PORTAINER_API_KEY }}"
|
||||
|
||||
|
||||
STACK_DATA=$(curl -s -H "X-API-Key: $PORTAINER_TOKEN" "$PORTAINER_API_URL/stacks" | jq -r ".[] | select(.Name==\"$STACK_NAME\") | {Id, EndpointId}")
|
||||
|
||||
Reference in New Issue
Block a user