Loading other/pages-hugo.yml +5 −2 Original line number Diff line number Diff line Loading @@ -8,12 +8,15 @@ pages: # before_script: # - git clone https://github.com/matcornic/hugo-theme-learn.git themes/hugo-theme-learn variables: MINIFY: "false" # Further minify all files MINIFY: "false" EXTRA_ARGS: "" script: - hugo --minify - | if [ ${MINIFY} = "true" ]; then hugo --minify ${EXTRA_ARGS} /minify.sh . else hugo ${EXTRA_ARGS} fi - gzip -kr public artifacts: Loading Loading
other/pages-hugo.yml +5 −2 Original line number Diff line number Diff line Loading @@ -8,12 +8,15 @@ pages: # before_script: # - git clone https://github.com/matcornic/hugo-theme-learn.git themes/hugo-theme-learn variables: MINIFY: "false" # Further minify all files MINIFY: "false" EXTRA_ARGS: "" script: - hugo --minify - | if [ ${MINIFY} = "true" ]; then hugo --minify ${EXTRA_ARGS} /minify.sh . else hugo ${EXTRA_ARGS} fi - gzip -kr public artifacts: Loading