File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed
Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 1- # npm rebuild
1+ #! /bin/bash
2+
23hugo version
3- hugo --theme=devopsdays-theme --buildDrafts=false --baseURL=" $URL /"
4- # gulp
4+ hugo --environment=production --theme=devopsdays-theme --minify --templateMetrics --logLevel info --buildDrafts=false --baseURL=" $URL /"
5+ CSSFINGERPRINTED=$( ls public/css/site.min.* .css)
6+ cp -f $CSSFINGERPRINTED public/css/site.css
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
13hugo version
2- hugo --theme=devopsdays-theme --buildDrafts=false --baseURL=" $DEPLOY_PRIME_URL "
3- cp bin/staging-robots.txt public/robots.txt
4+ hugo --environment=development --theme=devopsdays-theme --buildDrafts=false --templateMetrics --templateMetricsHints --printMemoryUsage --printPathWarnings --printUnusedTemplates --printI18nWarnings --logLevel debug --baseURL=" $DEPLOY_PRIME_URL "
5+ cp bin/staging-robots.txt public/robots.txt
6+ CSSFINGERPRINTED=$( ls public/css/site.min.* .css)
7+ cp -fv $CSSFINGERPRINTED public/css/site.css
You can’t perform that action at this time.
0 commit comments