Bump themes/PaperMod from 7795c90
to 72ab73f
(#68)
#76
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build GH-Pages | |
on: | |
push: | |
paths-ignore: | |
- "images/**" | |
- "LICENSE" | |
- "README.md" | |
branches: | |
- main | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
# checkout to the commit that has been pushed | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true # Fetch Hugo themes (true OR recursive) | |
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod | |
- name: Update theme to Latest commit | |
run: git submodule update --remote --merge | |
# install Hugo | |
- name: Setup Hugo | |
uses: peaceiris/[email protected] | |
with: | |
hugo-version: 'latest' | |
extended: true | |
- name: Build | |
run: hugo --verbose --minify | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_branch: gh-pages | |
publish_dir: ./public |