little env fix
This commit is contained in:
@@ -11,8 +11,8 @@ jobs:
|
||||
- name: Fetch stack ID from Portainer
|
||||
env:
|
||||
PORTAINER_TOKEN: ${{ secrets.PORTAINER_API_KEY }}
|
||||
PORTAINER_API_URL="https://portainer.dev.nervesocket.com/api"
|
||||
STACK_NAME="bookstack"
|
||||
PORTAINER_API_URL: https://portainer.dev.nervesocket.com/api
|
||||
STACK_NAME: bookstack
|
||||
run: |
|
||||
|
||||
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