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

25 lines
483 B
YAML
Raw Normal View History

2019-09-05 23:44:19 +02:00
name: Build with Hugo
2019-08-22 22:46:28 +02:00
on: [push, pull_request]
2019-08-22 22:46:28 +02:00
jobs:
build:
2019-08-22 23:07:54 +02:00
runs-on: ubuntu-latest
strategy:
matrix:
hugo-version:
- 'latest'
- '0.68.0'
2019-08-22 22:46:28 +02:00
steps:
- uses: actions/checkout@v2
2019-08-22 23:01:33 +02: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 ../..