Skip to content
Snippets Groups Projects

fix hugo

Merged Christopher Guindon requested to merge cguindon/fix-hugo into main
2 files
+ 4
8
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 3
7
@@ -12,10 +12,6 @@
set -euo pipefail
if [[ -e yarn.lock ]]; then
yarn install --frozen-lockfile;
elif [[ -e package-lock.json ]]; then
npm --unsafe-perm ci;
fi;
hugo --source exampleSite --theme "${PWD##*/}" --themesDir ../../ --gc --minify --destination ."${1}" --baseURL "${2}"
yarn install --frozen-lockfile;
yarn run build
hugo --source exampleSite --theme "${PWD##*/}" --themesDir ../../ --gc --minify --destination ."${1}" --baseURL "${2}"
\ No newline at end of file
Loading