|
|
@ -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 |
|
|
|