Skip to content

updating site on Mon May 6 10:49:00 +07 2024 #463

updating site on Mon May 6 10:49:00 +07 2024

updating site on Mon May 6 10:49:00 +07 2024 #463

Workflow file for this run

name: github pages
on:
push:
branches:
- sources # Set a branch name to trigger deployment
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.4
with:
fetch-depth: 0
submodules: recursive
token: ${{ secrets.PERSONAL_TOKEN }}
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.88.1'
- name: Build
run: hugo --minify
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.PERSONAL_TOKEN }}
publish_branch: gh-pages
publish_dir: ./public
cname: hongtaoh.com