diff options
author | Go <monkeywzr@gmail.com> | 2021-07-04 12:40:24 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-04 12:40:24 +0300 |
commit | 1bc1ed115e5639cb1307e46d52a8decd51795119 (patch) | |
tree | e39761a80802b5913099bc57af1fec8d72f5e816 | |
parent | 8a0766c543cff8c6e75a29acd93efd7902968398 (diff) | |
parent | 6f6c6ce04806e53df090ccdc68a15c44e676d09b (diff) |
Merge pull request #70 from monkeyWzr/monkeyWzr-patch-1
Update gh-pages.yml
-rw-r--r-- | .github/workflows/gh-pages.yml | 5 |
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 |