blob: 2df9fa611d967406238c0dffbdf5feeb84f54f76 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
cache:
paths:
- .stack-work
- output
- node_modules
- bower_components
- yarn.lock
stages:
- install_purescript
- prepare_site
- pages
install_purescript:
image: node:latest
stage: install_purescript
script:
- npm install bower
- npm install purescript
- npm install pulp
- export PATH=node_modules/.bin:$PATH;
- bower install --allow-root
prepare_site:
image: haskell:latest
stage: prepare_site
script:
- apt-get update && apt-get install xz-utils make
- export STACK_ROOT=`pwd`/.stack
- stack setup
- stack install --only-dependencies
- stack build
pages:
image: haskell:latest
stage: pages
script:
- stack exec cooking build
artifacts:
paths:
- public
only:
- master
|