Browse Source

Fix gitea push

master
Fábio Kaiser Rauber 2 weeks ago
parent
commit
2829d26b77
  1. 2
      .drone.yml

2
.drone.yml

@ -54,7 +54,7 @@ steps:
# Commit changes
- git commit -m "Update Helm charts from commit ${DRONE_COMMIT}" || echo "No changes to commit"
# Push with API key in URL and check for failure
- git push https://x:${GITEA_API_KEY}@git.interlegis.leg.br/seit/rancher-charts.git HEAD:gh-pages --force || { echo "Git push failed"; exit 1; }
- git push https://${GITEA_API_KEY}@git.interlegis.leg.br/seit/rancher-charts.git HEAD:gh-pages --force || { echo "Git push failed"; exit 1; }
environment:
GITEA_API_KEY:
from_secret: gitea_api_key

Loading…
Cancel
Save