fix: hardcode codeberg pages git commit email

This commit is contained in:
Luca Matei Pintilie
2025-04-17 17:54:12 +02:00
parent d5e988cfdd
commit 4046d58c04
+1 -3
View File
@@ -29,13 +29,11 @@ steps:
image: docker.io/bitnami/git image: docker.io/bitnami/git
environment: environment:
# secrets must be set in Woodpecker configuration # secrets must be set in Woodpecker configuration
MAIL:
from_secret: mail
CODEBERG_TOKEN: CODEBERG_TOKEN:
from_secret: codeberg_token from_secret: codeberg_token
commands: commands:
# Git configuration # Git configuration
- git config --global user.email $MAIL - git config --global user.email "ci-test@example.com"
- git config --global user.name "CI" - git config --global user.name "CI"
- git clone -b pages https://$CODEBERG_TOKEN@codeberg.org/$CI_REPO.git $CI_REPO_NAME - git clone -b pages https://$CODEBERG_TOKEN@codeberg.org/$CI_REPO.git $CI_REPO_NAME
# Copy build step output to repository folder # Copy build step output to repository folder