summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerghei Iakovlev <egrep@protonmail.ch>2022-04-29 22:42:07 +0200
committerSerghei Iakovlev <egrep@protonmail.ch>2022-04-29 22:42:07 +0200
commitab72e2ed16eaa1749de63071af54b699030a9f03 (patch)
treecff1153e88831da8555f2ce1f22edc74e0fb9944
parent157f8fad21e8c7e8177f32837030cabccac479e9 (diff)
downloadgohugo-theme-ed-ab72e2ed16eaa1749de63071af54b699030a9f03.tar.gz
Change deploy directory
-rw-r--r--.github/workflows/cd.yml8
1 files changed, 3 insertions, 5 deletions
diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml
index f21c545..06bd41c 100644
--- a/.github/workflows/cd.yml
+++ b/.github/workflows/cd.yml
@@ -32,14 +32,12 @@ jobs:
hugo-version: "${{ github.event.inputs.hugoVersion }}"
- name: Build
- run: hugo --source=exampleSite --buildDrafts --gc --verbose --minify
-
- - name: Verify build
run: |
- ls -al ./exampleSite/public
+ hugo --source=exampleSite --buildDrafts --gc --verbose --minify
+ cp ./exampleSite/public ./docs
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- publish_dir: ./exampleSite/public
+ publish_dir: ./docs