workflow : gh-pages : buildDrafts

This commit is contained in:
Aditya Telange 2020-07-25 12:07:01 +05:30
parent 2e9aef08a5
commit e85488ba1b

View File

@ -11,10 +11,10 @@ jobs:
uses: actions/checkout@v2
with:
ref: exampleSite
- name: Get Theme
run: git submodule update --init --recursive
- name: Update theme to Latest commit
run: git submodule update --remote --merge
@ -24,7 +24,7 @@ jobs:
hugo-version: 'latest'
- name: Build
run: hugo --gc --verbose --minify
run: hugo --buildDrafts --gc --verbose --minify
- name: Deploy
uses: peaceiris/actions-gh-pages@v3