Update .woodpecker.yml
This commit is contained in:
@ -25,6 +25,8 @@ steps:
|
||||
# Must be set in Woodpecker configuration
|
||||
secrets: [ mail, codeberg_token ]
|
||||
commands:
|
||||
# Save .domains
|
||||
- domains=$(cat .domains)
|
||||
# Git configuration
|
||||
- git config --global user.email $MAIL
|
||||
- git config --global user.name "Woodpecker CI"
|
||||
@ -35,6 +37,8 @@ steps:
|
||||
- git rm -r "*"
|
||||
# Copy build step output to repository folder
|
||||
- cp -ar ../public/. .
|
||||
# Add .domains back
|
||||
- echo $domains > .domains
|
||||
# Commit and push all static files with source commit SHA
|
||||
- git add --all
|
||||
- git commit -m "Woodpecker CI ${CI_COMMIT_SHA} [SKIP CI]"
|
||||
|
Reference in New Issue
Block a user