Skip to content

Merge pull request #497 from aivantsov/patch-1 #28

Merge pull request #497 from aivantsov/patch-1

Merge pull request #497 from aivantsov/patch-1 #28

Workflow file for this run

name: github pages
permissions:
contents: write
on:
push:
paths:
- "docs/**"
- ".github/workflows/docs.yml"
branches:
- main # Set a branch to deploy
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
submodules: true # Fetch Hugo themes (true OR recursive)
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
- name: Setup Hugo
uses: peaceiris/actions-hugo@75d2e84710de30f6ff7268e08f310b60ef14033f # v2.5.0
with:
hugo-version: 'latest'
extended: true
- name: Build
run: cd docs && npm install && hugo --minify
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@15de0f09300eea763baee31dff6c6184995c5f6a # v4.7.2
with:
folder: ./docs/public # The folder the action should deploy.