From 8f127843ac6efb8919499bf2449b345ad6a90b90 Mon Sep 17 00:00:00 2001 From: Dimitri Lozeve Date: Tue, 27 Oct 2020 21:11:36 +0100 Subject: [PATCH] Add GitHub Action to build the site --- .github/workflows/build.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..7b8f9e7 --- /dev/null +++ b/.github/workflows/build.yml @@ -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