Skip to content

Merge commit 'ba9baa3f600e367deac3db386ea5d52952ec072b' #10

Merge commit 'ba9baa3f600e367deac3db386ea5d52952ec072b'

Merge commit 'ba9baa3f600e367deac3db386ea5d52952ec072b' #10

Workflow file for this run

name: deploy github pages
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
fetch-depth: 0
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: 'latest'
- name: Build Hugo
run: hugo --minify
- name: Deploy Pages
uses: peaceiris/actions-gh-pages@v3
with:
external_repository: MortyZhaoy/MortyZhaoy.github.io
personal_token: ${{ secrets.PAGES_ACTIONS_SECRET }}
publish_dir: ./public
publish_branch: main