fix: Attempt fixing CI error

This commit is contained in:
daudix-UFO
2023-12-25 04:21:04 +03:00
parent 1b09a034b3
commit 01d24d367a

View File

@ -33,13 +33,13 @@ steps:
- 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 *
- git -C "$CI_REPO_NAME" rm -r *
- ls # Debug
# Copy build step output to repository folder
- cp -ar $ZOLA_OUTPUT/. $CI_REPO_NAME/
- cp -ar "$ZOLA_OUTPUT/." "$CI_REPO_NAME/"
- ls # Debug
# Commit and push all static files with pipeline started timestamp
- cd $CI_REPO_NAME
- cd "$CI_REPO_NAME"
- git add .
- git commit -m "Woodpecker CI ${CI_COMMIT_SHA} [SKIP CI]"
- git push