fix: Quote the asterisk in the CI

This commit is contained in:
daudix-UFO
2023-12-25 04:25:15 +03:00
parent 01d24d367a
commit 8463a62d25

View File

@ -33,13 +33,13 @@ steps:
- git clone -b pages https://$CODEBERG_TOKEN@codeberg.org/$CI_REPO.git $CI_REPO_NAME - git clone -b pages https://$CODEBERG_TOKEN@codeberg.org/$CI_REPO.git $CI_REPO_NAME
# Remove old files from repository # Remove old files from repository
- ls # Debug - ls # Debug
- git -C "$CI_REPO_NAME" rm -r * - git -C $CI_REPO_NAME rm -r "*"
- ls # Debug - ls # Debug
# Copy build step output to repository folder # Copy build step output to repository folder
- cp -ar "$ZOLA_OUTPUT/." "$CI_REPO_NAME/" - cp -ar $ZOLA_OUTPUT/. $CI_REPO_NAME/
- ls # Debug - ls # Debug
# Commit and push all static files with pipeline started timestamp # Commit and push all static files with pipeline started timestamp
- cd "$CI_REPO_NAME" - cd $CI_REPO_NAME
- git add . - git add .
- git commit -m "Woodpecker CI ${CI_COMMIT_SHA} [SKIP CI]" - git commit -m "Woodpecker CI ${CI_COMMIT_SHA} [SKIP CI]"
- git push - git push