fix: add condition on version for cleaning
Some checks failed
Blog Deployment / check-rebuild (push) Successful in 4s
Blog Deployment / build (push) Has been skipped
Blog Deployment / test-staging (push) Failing after 3s
Blog Deployment / merge (push) Has been skipped
Blog Deployment / deploy-production (push) Has been skipped
Blog Deployment / test-production (push) Has been skipped
Blog Deployment / deploy-staging (push) Successful in 9s
Blog Deployment / clean (push) Has been skipped
Some checks failed
Blog Deployment / check-rebuild (push) Successful in 4s
Blog Deployment / build (push) Has been skipped
Blog Deployment / test-staging (push) Failing after 3s
Blog Deployment / merge (push) Has been skipped
Blog Deployment / deploy-production (push) Has been skipped
Blog Deployment / test-production (push) Has been skipped
Blog Deployment / deploy-staging (push) Successful in 9s
Blog Deployment / clean (push) Has been skipped
This commit is contained in:
@@ -16,8 +16,6 @@ fi
|
||||
echo "- Cloning $REPO_URL (branch: $BRANCH)..."
|
||||
git clone --depth 1 --recurse-submodules --branch "$BRANCH" "$REPO_URL" "$CLONE_DIR"
|
||||
|
||||
exit 1
|
||||
|
||||
echo "- Building site with Hugo v$HUGO_VERSION in $HUGO_DEST..."
|
||||
hugo --source "$CLONE_DIR" --destination "$HUGO_DEST" --baseURL "$URL" $DRAFTS --logLevel info --cleanDestinationDir --gc --panicOnWarning --printI18nWarnings
|
||||
|
||||
|
Reference in New Issue
Block a user