Added Zola check

Signed-off-by: Alexander Borsuk <me@alex.bio>
This commit is contained in:
Alexander Borsuk 2023-03-05 09:23:54 +01:00 committed by Alexander Borsuk
parent 97560d670c
commit 6a80640dc7

22
.github/workflows/check.yml vendored Normal file
View file

@ -0,0 +1,22 @@
name: Check site validity
env:
ZOLA_VERSION: 0.17.1
on:
pull_request:
jobs:
check:
runs-on: ubuntu-latest
environment: production
name: Check Zola build
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build with Zola
run: |
wget -O zola.tar.gz -c https://github.com/getzola/zola/releases/download/v${ZOLA_VERSION}/zola-v${ZOLA_VERSION}-x86_64-unknown-linux-gnu.tar.gz
tar -zxvf zola.tar.gz
./zola build