summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/gh-pages.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml
index 8df1643..5f045a8 100644
--- a/.github/workflows/gh-pages.yml
+++ b/.github/workflows/gh-pages.yml
@@ -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