Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Smoke test: improvements #1800

Merged
merged 1 commit into from
Feb 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/smoke.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Smoke test across OSs: build a Docsy-based site from scratch, fetching Docsy
# via NPM.
# Smoke test across OSs: build a Docsy-based site from scratch,
# using Docsy as hugo module and fetching Docsy via NPM.

name: smoke

Expand Down
4 changes: 2 additions & 2 deletions tools/make-site.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Usage: `basename $0` [options]

Creates a Docsy-themed site under SITE_NAME using the Hugo new command.
Docsy is fetched as an NPM package from $DOCSY_REPO in GitHub,
unless the -l or -d HUGO_MOD flags are used.
unless the -l or -s HUGO_MOD flags are used.

-f Force delete SITE_NAME if it exists before recreating it
-h Output this usage info
Expand Down Expand Up @@ -71,7 +71,7 @@ function process_CLI_args() {
s)
DOCSY_SRC=$(echo "$OPTARG" | tr '[:lower:]' '[:upper:]')
if [[ $DOCSY_SRC != "NPM" && $DOCSY_SRC != HUGO* ]]; then
echo "ERROR: invalid argument to -s flag: $DOCSY_SRC"
echo "ERROR: invalid argument to -s flag: $OPTARG"
usage 1;
fi
;;
Expand Down