add: comments in entrypoint.sh
All checks were successful
Blog Deployment / check-rebuild (push) Successful in 4s
Blog Deployment / build (push) Successful in 8s
Blog Deployment / deploy-staging (push) Successful in 9s
Blog Deployment / test-staging (push) Successful in 3s
Blog Deployment / merge (push) Successful in 5s
Blog Deployment / deploy-production (push) Successful in 9s
Blog Deployment / test-production (push) Successful in 2s
Blog Deployment / clean (push) Has been skipped
All checks were successful
Blog Deployment / check-rebuild (push) Successful in 4s
Blog Deployment / build (push) Successful in 8s
Blog Deployment / deploy-staging (push) Successful in 9s
Blog Deployment / test-staging (push) Successful in 3s
Blog Deployment / merge (push) Successful in 5s
Blog Deployment / deploy-production (push) Successful in 9s
Blog Deployment / test-production (push) Successful in 2s
Blog Deployment / clean (push) Has been skipped
This commit is contained in:
parent
c5546106a6
commit
492f3ffb43
@ -13,11 +13,14 @@ if [ $BRANCH -eq "preview" ]; then
|
||||
DRAFTS="--buildDrafts"
|
||||
fi
|
||||
|
||||
# Clone repo
|
||||
echo "- Cloning $REPO_URL (branch: $BRANCH)..."
|
||||
git clone --depth 1 --recurse-submodules --branch "$BRANCH" "$REPO_URL" "$CLONE_DIR"
|
||||
|
||||
# Generate static files with hugo
|
||||
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
|
||||
|
||||
# Start nginx
|
||||
echo "- Starting Nginx..."
|
||||
exec nginx -g 'daemon off;'
|
Loading…
x
Reference in New Issue
Block a user