bump Hugo version #3
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 and deploy jasonheppler.org | |
# The trigger for the action | |
on: | |
push: | |
branches: | |
- main | |
# Jobs are contains steps | |
jobs: | |
build_deploy: | |
name: build and deploy | |
# This job runs on linux | |
runs-on: ubuntu-latest | |
steps: | |
# The first step is provided by GitHub and it checks out | |
# the master branch on the runner | |
- uses: actions/checkout@main | |
with: | |
submodules: true | |
# This step uses an action created by a user which sets | |
# up Hugo on the runner and runs the hugo command to build | |
# the site | |
- name: Setup Hugo | |
uses: peaceiris/actions-hugo@v2 | |
with: | |
hugo-version: '0.135.0' | |
- name: Build | |
run: hugo --minify |