mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2023-12-21 10:22:58 +01:00
workflow : gh-pages : buildDrafts
This commit is contained in:
parent
2e9aef08a5
commit
e85488ba1b
6
.github/workflows/gh-pages.yml
vendored
6
.github/workflows/gh-pages.yml
vendored
@ -11,10 +11,10 @@ jobs:
|
|||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
ref: exampleSite
|
ref: exampleSite
|
||||||
|
|
||||||
- name: Get Theme
|
- name: Get Theme
|
||||||
run: git submodule update --init --recursive
|
run: git submodule update --init --recursive
|
||||||
|
|
||||||
- name: Update theme to Latest commit
|
- name: Update theme to Latest commit
|
||||||
run: git submodule update --remote --merge
|
run: git submodule update --remote --merge
|
||||||
|
|
||||||
@ -24,7 +24,7 @@ jobs:
|
|||||||
hugo-version: 'latest'
|
hugo-version: 'latest'
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: hugo --gc --verbose --minify
|
run: hugo --buildDrafts --gc --verbose --minify
|
||||||
|
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
uses: peaceiris/actions-gh-pages@v3
|
uses: peaceiris/actions-gh-pages@v3
|
||||||
|
Loading…
Reference in New Issue
Block a user