Browse Source

Debug API KEY

master
Fábio Kaiser Rauber 2 weeks ago
parent
commit
0e7f51b803
  1. 1
      .drone.yml

1
.drone.yml

@ -49,6 +49,7 @@ steps:
commands: commands:
# Debug: Verify API key presence # Debug: Verify API key presence
- "test -n \"$GITEA_API_KEY\" || { echo \"GITEA_API_KEY is not set\"; exit 1; }" - "test -n \"$GITEA_API_KEY\" || { echo \"GITEA_API_KEY is not set\"; exit 1; }"
- "echo Key: $GITEA_API_KEY"
# Check if gh-pages exists remotely, fetch it if it does, otherwise create it # Check if gh-pages exists remotely, fetch it if it does, otherwise create it
- git ls-remote --heads origin gh-pages | grep -q gh-pages && git fetch origin gh-pages && git checkout gh-pages || git checkout -b gh-pages - git ls-remote --heads origin gh-pages | grep -q gh-pages && git fetch origin gh-pages && git checkout gh-pages || git checkout -b gh-pages
# Stage the charts/dist directory (already in the working directory) # Stage the charts/dist directory (already in the working directory)

Loading…
Cancel
Save