mirror of https://github.com/artifacthub/blog.git
Merge pull request #22 from mattfarina/fix-build
Attempting to fix the build
This commit is contained in:
commit
7a397dd95a
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue