hugo-book/.github/workflows/main.yml

25 lines
483 B
YAML
Raw Normal View History

2019-09-05 21:44:19 +00:00
name: Build with Hugo
2019-08-22 20:46:28 +00:00
on: [push, pull_request]
2019-08-22 20:46:28 +00:00
jobs:
build:
2019-08-22 21:07:54 +00:00
runs-on: ubuntu-latest
strategy:
matrix:
hugo-version:
- 'latest'
- '0.68.0'
2019-08-22 20:46:28 +00:00
steps:
- uses: actions/checkout@v2
2019-08-22 21:01:33 +00:00
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: ${{ matrix.hugo-version }}
extended: true
- name: Run Hugo
working-directory: exampleSite
run: hugo --themesDir ../..