mirror of
https://github.com/GeekOops/doc.git
synced 2024-05-20 05:12:21 +00:00
Felix Niederwanger
de2c94dc13
Run a simple hugo build step on every pull request to ensure the website remains healthy.
22 lines
329 B
YAML
22 lines
329 B
YAML
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
|