aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Raasch <425211+janraasch@users.noreply.github.com>2023-03-15 13:32:22 +0100
committerJan Raasch <425211+janraasch@users.noreply.github.com>2023-03-15 13:32:22 +0100
commit6c922477c1943d8fe7bdef9fb59a905fc2237c03 (patch)
treeb21039d893bb0a1d043bd41331979692614012c3
parent96a3934c6d166582af52b9151408f5739fa3dcc4 (diff)
downloadhugo-bearcub-6c922477c1943d8fe7bdef9fb59a905fc2237c03.tar.gz
hugo-bearcub-6c922477c1943d8fe7bdef9fb59a905fc2237c03.tar.bz2
chore(ci): oh the lols :)) aka fix the fix
-rw-r--r--.github/workflows/ci.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 41aa094..280c8c7 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -23,7 +23,7 @@ jobs:
hugo-version: latest
- name: Build local ./exampleSite
- run: hugo --ignoreCache --destination ../public --source ./exampleSite --themesDir ../.. --baseURL https://janraasch.github.io/hugo-bearblog/
+ run: hugo --minify --gc --destination ../public --source ./exampleSite --themesDir ../.. --baseURL https://janraasch.github.io/hugo-bearblog/
- name: Upload Artifact
uses: actions/upload-artifact@v3
@@ -60,3 +60,7 @@ jobs:
with:
name: build
path: ./public
+ - uses: peaceiris/actions-gh-pages@v3.9.2
+ with:
+ github_token: ${{ secrets.GITHUB_TOKEN }}
+ publish_dir: ./public