Add Github Actions CI

pull/4/head
Maik de Kruif 3 years ago
parent 512f4fed33
commit 4be232d4a0
No known key found for this signature in database
GPG Key ID: 50FA6EF181702794
  1. 27
      .github/workflows/hugo_ci.yml

@ -0,0 +1,27 @@
name: Hugo CI
on:
push:
branches: ["**"]
pull_request:
branches: [master]
defaults:
run:
working-directory: ./
jobs:
compile:
timeout-minutes: 10
name: Compile
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: "latest"
extended: true
- name: Build
run: hugo -D -F
Loading…
Cancel
Save