fix ci: replace drone-git-push plugin with git commands
Some checks failed
ci/woodpecker/push/infra-ci Pipeline was successful
ci/woodpecker/push/deploy Pipeline failed
coverage 99% coverage
ci/woodpecker/push/ci Pipeline was successful

appleboy/drone-git-push treats 'path' as a chdir directory, not a file
to commit. Use alpine/git with explicit git add/commit/push instead.
This commit is contained in:
kert
2026-03-22 10:54:50 -04:00
parent f31e14bddb
commit 78c6f53a9e

View File

@@ -46,19 +46,20 @@ steps:
- test - test
- name: commit-badge - name: commit-badge
image: appleboy/drone-git-push image: alpine/git
failure: ignore failure: ignore
settings: environment:
remote: http://gitea:3000/homelab/stack.git REGISTRY_USER:
branch: main
author_name: woodpecker-ci
author_email: ci@fhirworx.io
commit_message: "update coverage badge [skip ci]"
path: coverage.svg
username:
from_secret: registry_user from_secret: registry_user
password: REGISTRY_PASS:
from_secret: registry_pass from_secret: registry_pass
commands:
- git config user.name woodpecker-ci
- git config user.email ci@fhirworx.io
- git add coverage.svg
- git diff --cached --quiet && echo "no change" && exit 0
- git commit -m "update coverage badge [skip ci]"
- git push http://$REGISTRY_USER:$REGISTRY_PASS@gitea:3000/homelab/stack.git HEAD:main
when: when:
- branch: main - branch: main
event: push event: push