diff --git a/.woodpecker.yml b/.woodpecker.yml index 3946fbb..0bae235 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -31,8 +31,13 @@ steps: - git config --global user.email $MAIL - git config --global user.name "Woodpecker CI" - git clone -b pages https://$CODEBERG_TOKEN@codeberg.org/$CI_REPO.git $CI_REPO_NAME + # Remove old files from repository + - ls # Debug + - git -C $CI_REPO_NAME rm -r * + - ls # Debug # Copy build step output to repository folder - cp -ar $ZOLA_OUTPUT/. $CI_REPO_NAME/ + - ls # Debug # Commit and push all static files with pipeline started timestamp - cd $CI_REPO_NAME - git add .