Add GitHub Action to build the site

This commit is contained in:
Dimitri Lozeve 2020-10-27 21:11:36 +01:00
parent 734df439a1
commit 8f127843ac

15
.github/workflows/build.yml vendored Normal file
View file

@ -0,0 +1,15 @@
on: [push]
name: build
jobs:
runhaskell:
name: Hello World
runs-on: ubuntu-latest # or macOS-latest, or windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-haskell@v1.1
with:
# cabal-version: 'latest'. Omitted, but defalts to 'latest'
enable-stack: true
stack-version: 'latest'
- run: stack build
- run: stack exec site build