fix(ci): gitea git config for semantic-release

This commit is contained in:
barbirict committed 2026-02-15 12:01:00 +01:00
1 parent 8e93c3b51b
commit b582845574
1 file changed
+4
+4
View File
@@ -10,9 +10,13 @@ steps:
environment:
GITEA_TOKEN:
from_secret: gitea_token
GITEA_USERNAME:
from_secret: gitea_username
GITEA_URL: ${CI_FORGE_URL}
commands:
- apk add --no-cache git
- git config --global credential.helper store
- echo "https://${GITEA_USERNAME}:${GITEA_TOKEN}@$git.barbiric.io" > ~/.git-credentials
- npm install -g semantic-release @semantic-release/commit-analyzer @semantic-release/release-notes-generator @semantic-release/changelog @semantic-release/git @forge-for-gitea/semantic-release-gitea
- npx semantic-release
when: