You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
483 B
YAML
25 lines
483 B
YAML
2 years ago
|
name: Build with Hugo
|
||
|
|
||
|
on: [push, pull_request]
|
||
|
|
||
|
jobs:
|
||
|
build:
|
||
|
runs-on: ubuntu-latest
|
||
|
strategy:
|
||
|
matrix:
|
||
|
hugo-version:
|
||
|
- 'latest'
|
||
|
- '0.79.0'
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
|
|
||
|
- 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 ../..
|