Skip to content

博客添加对Mermaid.js支持 #67

博客添加对Mermaid.js支持

博客添加对Mermaid.js支持 #67

Workflow file for this run

name: Github Pages
on:
push:
branches:
- main
jobs:
pages:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: true
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: 'latest'
- name: Build
run: hugo -D --minify
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.TOKEN }}
publish_dir: ./public
publish_branch: gh-pages # deploying branch