chore(ci): oh the lols :)) aka fix the fix

This commit is contained in:
Jan Raasch 2023-03-15 13:32:22 +01:00
parent 96a3934c6d
commit 6c922477c1

View File

@ -23,7 +23,7 @@ jobs:
hugo-version: latest hugo-version: latest
- name: Build local ./exampleSite - 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 - name: Upload Artifact
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
@ -60,3 +60,7 @@ jobs:
with: with:
name: build name: build
path: ./public path: ./public
- uses: peaceiris/actions-gh-pages@v3.9.2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public