Make sure to audit drafts as well

This commit is contained in:
BBaoVanC 2023-01-23 20:33:51 -06:00
parent e93871c923
commit 66fac8058f
Signed by: bbaovanc
GPG Key ID: 18089E4E3CCF1D3A
1 changed files with 3 additions and 3 deletions

View File

@ -34,7 +34,7 @@ jobs:
- name: Build previous commit
run: |
hugo --printI18nWarnings --printPathWarnings --baseURL https://localhost -d old/
hugo --buildDrafts --printI18nWarnings --printPathWarnings --baseURL https://localhost -d old/
- name: Checkout current commit
uses: actions/checkout@v2
@ -45,7 +45,7 @@ jobs:
- name: Build current commit
run: |
hugo --printI18nWarnings --printPathWarnings --baseURL https://localhost
hugo --buildDrafts --printI18nWarnings --printPathWarnings --baseURL https://localhost
cp -r public/ new/
# copy, so that public/ stays, it will be needed for Caddy to serve
@ -116,7 +116,7 @@ jobs:
- name: Build
run: |
HUGO_MINIFY_TDEWOLFF_HTML_KEEPCOMMENTS=true HUGO_ENABLEMISSINGTRANSLATIONPLACEHOLDERS=true hugo --printI18nWarnings --printPathWarnings
HUGO_MINIFY_TDEWOLFF_HTML_KEEPCOMMENTS=true HUGO_ENABLEMISSINGTRANSLATIONPLACEHOLDERS=true hugo --buildDrafts --printI18nWarnings --printPathWarnings
# For the following steps, see
# https://discourse.gohugo.io/t/audit-your-published-site-for-problems/35184