Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/monkeyWzr/hugo-theme-cactus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/gh-pages.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml
index 433c2be..930fb45 100644
--- a/.github/workflows/gh-pages.yml
+++ b/.github/workflows/gh-pages.yml
@@ -14,6 +14,7 @@ jobs:
with:
submodules: true # Fetch Hugo themes (true OR recursive)
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
+ path: cactus
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2.4.13
@@ -22,11 +23,11 @@ jobs:
# extended: true
- name: Build
- run: hugo --minify
+ run: cd cactus/exampleSite && hugo --minify --themesDir ../..
- name: Deploy
uses: peaceiris/actions-gh-pages@v3.7.3
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- publish_dir: ./public
+ publish_dir: cactus/exampleSite/public