fix: hardcode codeberg pages git commit email
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user