.gitlab-ci.yml 330 Bytes
Newer Older
1
image: node:latest
2

3 4 5 6
before_script:
  - yarn
  - npm install -g gulp

7 8
build:
  stage: build
David Haynes's avatar
cleanup  
David Haynes committed
9
  script:
David Haynes's avatar
David Haynes committed
10 11 12 13 14
    - gulp build
  artifacts:
    paths:
      - build/js
      - build/css
15 16 17
      - build/fonts

pages:
David Haynes's avatar
David Haynes committed
18
  stage: deploy
19 20
  script:
    - gulp build
David Haynes's avatar
David Haynes committed
21 22
    - mkdir public
    - mv build/* public
23 24
  artifacts:
    paths:
David Haynes's avatar
David Haynes committed
25
      - public