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