Add CI to new pull requests

Run a simple hugo build step on every pull request to ensure the website
remains healthy.
This commit is contained in:
Felix Niederwanger 2022-06-29 11:48:10 +02:00
parent 596cf5d5fe
commit de2c94dc13
Signed by: phoenix
GPG key ID: 31860289A704FB3C

21
.github/workflows/CI.yml vendored Normal file
View file

@ -0,0 +1,21 @@
name: Check hugo build
'on':
pull_request:
branches:
- main
jobs:
build-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
with:
submodules: true
ssh-key: ''
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
- name: Build
run: hugo --minify