Skip to content

Rename post

Rename post #36

Workflow file for this run

name: Deploy Hugo site to GitHub Pages
on:
push:
branches:
- main # Change to 'master' if using master branch
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
- name: Setup Hugo
uses: peaceiris/actions-hugo@v3
with:
hugo-version: 'latest'
extended: true
- name: Build site
run: hugo --minify
- name: Create .nojekyll file
run: touch ./public/.nojekyll
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public