.gitlab-ci.yml 222 Bytes
Newer Older
Alexandre Villeneuve's avatar
Alexandre Villeneuve committed
1
2
3
4
5
image: node

before_script:
  - npm install

Alexandre Villeneuve's avatar
Alexandre Villeneuve committed
6
7
8
cache:
  paths:
    - node_modules/
Alexandre Villeneuve's avatar
Alexandre Villeneuve committed
9

Alexandre Villeneuve's avatar
Alexandre Villeneuve committed
10
pages:
Alexandre Villeneuve's avatar
Alexandre Villeneuve committed
11
12
13
14
15
  script:
    - npm run generate
  artifacts:
    paths:
      - public
Achilleas Pipinellis's avatar
Achilleas Pipinellis committed
16
17
  rules:
    - if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH