Add homeassistant.yaml + stack-deploy.sh hint for secret not found errors
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
admin
2026-06-25 16:53:23 -07:00
parent c6f9d5e455
commit 2b259dec3b
2 changed files with 399 additions and 2 deletions
+4 -2
View File
@@ -16,9 +16,11 @@ if [ -f "$ENVFILE" ]; then
echo " Vars: $VARS"
envsubst "$VARS" < "$YAML" \
| python3 $PY strip \
| docker stack deploy -c - "$STACK"
| docker stack deploy -c - "$STACK"\
|| { echo -e "\\n Hint: 'secret not found' means Woodpecker hasn't provisioned secrets yet for this stack."; echo -e " Trigger the pipeline first: https://woodpecker.bryanmail.net\\n"; exit 1; }
else
echo " No env file"
docker stack deploy -c "$YAML" "$STACK"
docker stack deploy -c "$YAML" "$STACK"\
|| { echo -e "\\n Hint: 'secret not found' means Woodpecker hasn't provisioned secrets yet for this stack."; echo -e " Trigger the pipeline first: https://woodpecker.bryanmail.net\\n"; exit 1; }
fi
echo "==> Done: $STACK"