Skip to content

chore(deps): update themes/hello-friend-ng digest to b4559bf #76

chore(deps): update themes/hello-friend-ng digest to b4559bf

chore(deps): update themes/hello-friend-ng digest to b4559bf #76

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