Use pagefind #44
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 example site | |
on: | |
pull_request: | |
branches: | |
- master | |
- exampleSite | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Git checkout | |
uses: actions/checkout@v2 | |
with: | |
ref: exampleSite | |
- name: Get Theme | |
run: git submodule update --init --recursive | |
- name: Update theme to Latest commit | |
run: git submodule update --remote --merge | |
- name: Setup hugo | |
uses: peaceiris/actions-hugo@v2 | |
with: | |
hugo-version: 'latest' | |
- name: Build | |
run: hugo --buildDrafts --gc --verbose --minify |