Skip to content

Commit

Permalink
Smoke test: improvements (#1800)
Browse files Browse the repository at this point in the history
  • Loading branch information
deining authored Feb 1, 2024
1 parent 91efe35 commit 58cdd3a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
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

0 comments on commit 58cdd3a

Please sign in to comment.