Add GitHub Action to build the site
This commit is contained in:
parent
734df439a1
commit
8f127843ac
1 changed files with 15 additions and 0 deletions
15
.github/workflows/build.yml
vendored
Normal file
15
.github/workflows/build.yml
vendored
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue