Skip to content

ci(deps): update jamesives/github-pages-deploy-action action to v4.6.6 #69

ci(deps): update jamesives/github-pages-deploy-action action to v4.6.6

ci(deps): update jamesives/github-pages-deploy-action action to v4.6.6 #69

name: Build and publish site
on:
push:
paths-ignore:
- 'README.md'
- 'LICENSE'
branches:
- main
pull_request:
jobs:
deploy:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
- name: Setup Hugo
uses: peaceiris/actions-hugo@v3
with:
hugo-version: '0.101.0'
extended: true
- name: Build Site
run: hugo --minify
- name: Deploy site
if: ${{ github.event_name != 'pull_request' && github.ref == 'refs/heads/main' }}
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: public