Skip to content

Update

Update #110

Workflow file for this run

name: github pages
on:
push:
branches:
- main # Set a branch to deploy
pull_request:
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3 # Update this to the latest version supporting Node.js 20
with:
submodules: true
fetch-depth: 0
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2 # Update to the latest version supporting Node.js 20
with:
hugo-version: 'latest'
- name: Build
run: hugo --minify
- name: Deploy
uses: peaceiris/actions-gh-pages@v3 # Update to the latest version supporting Node.js 20
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.LOGSEQ_GITHUB_TOKEN }}
publish_dir: ./public