MtF-wiki/.github/workflows/test-build.yml

28 lines
601 B
YAML

name: Test Site
on:
pull_request:
paths-ignore:
- '.github'
- 'README.md'
- 'LICENSE'
jobs:
build-deploy:
runs-on: ubuntu-20.04
if: "! contains(toJSON(github.event.commits.*.message), '[skip ci]')"
steps:
- uses: actions/checkout@v2
with:
submodules: true
fetch-depth: 0
# - uses: actions/setup-node@v2
# - run: npx markdownlint-cli .
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: 0.94.0
extended: true
- name: Build
run: hugo --minify