Merge pull request #22 from mattfarina/fix-build

Attempting to fix the build
This commit is contained in:
Matt Farina 2024-10-15 21:27:04 +02:00 committed by GitHub
commit 7a397dd95a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 13 additions and 5 deletions

View File

@ -6,7 +6,7 @@ on:
- main
jobs:
build-deploy:
build:
runs-on: ubuntu-latest
steps:
@ -14,9 +14,17 @@ jobs:
uses: actions/checkout@master
with:
submodules: true
- name: Publish Site
uses: chabad360/hugo-gh-pages@0bcf754dc6c823a580c58a59a3baa476a41258d3
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
hugoVersion: extended_0.135.0
hugo-version: '0.135.0'
extended: true
- name: Build
run: hugo --minify
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
cname: blog.artifacthub.io