From 6c922477c1943d8fe7bdef9fb59a905fc2237c03 Mon Sep 17 00:00:00 2001 From: Jan Raasch <425211+janraasch@users.noreply.github.com> Date: Wed, 15 Mar 2023 13:32:22 +0100 Subject: [PATCH] chore(ci): oh the lols :)) aka fix the fix --- .github/workflows/ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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