feat: add rm blog dir in init script
All checks were successful
Blog Deployment / Check-Rebuild (push) Successful in 21s
Blog Deployment / Merge (push) Successful in 10s
Blog Deployment / Deploy-Production (push) Successful in 12s
Blog Deployment / Test-Production (push) Successful in 3s
Blog Deployment / Clean (push) Successful in 4s
Blog Deployment / Notify (push) Successful in 3s
Blog Deployment / Build (push) Successful in 49s
Blog Deployment / Deploy-Staging (push) Successful in 12s
Blog Deployment / Test-Staging (push) Successful in 42s
All checks were successful
Blog Deployment / Check-Rebuild (push) Successful in 21s
Blog Deployment / Merge (push) Successful in 10s
Blog Deployment / Deploy-Production (push) Successful in 12s
Blog Deployment / Test-Production (push) Successful in 3s
Blog Deployment / Clean (push) Successful in 4s
Blog Deployment / Notify (push) Successful in 3s
Blog Deployment / Build (push) Successful in 49s
Blog Deployment / Deploy-Staging (push) Successful in 12s
Blog Deployment / Test-Staging (push) Successful in 42s
This commit is contained in:
@@ -14,6 +14,9 @@ if [ "$BRANCH" = "preview" ]; then
|
||||
DRAFTS="--buildDrafts --buildFuture"
|
||||
fi
|
||||
|
||||
# Clean blog dir
|
||||
rm -rf "$CLONE_DIR"
|
||||
|
||||
# Clone repo
|
||||
echo "- Cloning $REPO_URL (branch: $BRANCH)..."
|
||||
git clone --recurse-submodules --branch "$BRANCH" "$REPO_URL" "$CLONE_DIR"
|
||||
|
Reference in New Issue
Block a user