Commit 1be4783 1 parent 233d1b8 commit 1be4783 Copy full SHA for 1be4783
File tree 1 file changed +7
-3
lines changed
docs/content/documentation/deployment
1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -56,13 +56,17 @@ steps:
56
56
57
57
publish :
58
58
image : bitnami/git
59
- secrets : [mail, codeberg_token]
59
+ environment :
60
+ CBMAIL :
61
+ from_secret : " mail"
62
+ CBTOKEN :
63
+ from_secret : " codeberg_token"
60
64
commands :
61
65
# Configure Git
62
- - git config --global user.email $MAIL
66
+ - git config --global user.email "$${CBMAIL}"
63
67
- git config --global user.name "Woodpecker CI"
64
68
# Clone the output branch
65
- - git clone --branch pages https://$CODEBERG_TOKEN @codeberg.org/$CI_REPO.git $CI_REPO_NAME
69
+ - git clone --branch pages https://$${CBTOKEN} @codeberg.org/$CI_REPO.git $CI_REPO_NAME
66
70
# Enter the output branch
67
71
- cd $CI_REPO_NAME
68
72
# Remove old files
You can’t perform that action at this time.
0 commit comments