diff --git a/.woodpecker.yml b/.woodpecker.yml index e4c73fc..40d1c61 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -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]"