This commit is contained in:
Carles Pina i Estany 2020-12-02 16:21:05 +00:00
parent ec672cbc0a
commit f5a3797d5b

View File

@ -27,7 +27,7 @@ git clone --single-branch --branch "$TARGET_BRANCH" "https://$API_TOKEN_GITHUB@g
ls -la "$CLONE_DIR"
echo "Cleaning destination repository of old files"
# Deletes the conents of $CLONE_DIR with three exceptions (! -path "..."):
# Deletes the contents of $CLONE_DIR with three exceptions (! -path "..."):
# -Skips the $CLONE_DIR/ directory itself
# -Skips the contents of $CLONE_DIR/.git/*
# -Skips the $CLONE_DIR/.git