.gitlab-ci.yml 243 Bytes
Newer Older
Eugen Rochko's avatar
Eugen Rochko committed
1
image: node:8.11.3-alpine
Eugen Rochko's avatar
Eugen Rochko committed
2

Eugen Rochko's avatar
Eugen Rochko committed
3 4 5
pages:
  cache:
    paths:
Eugen Rochko's avatar
Eugen Rochko committed
6
      - node_modules
Eugen Rochko's avatar
Eugen Rochko committed
7
    
Eugen Rochko's avatar
Eugen Rochko committed
8 9 10
  script:
    - yarn install --pure-lockfile
    - yarn build
Eugen Rochko's avatar
Eugen Rochko committed
11
    - rm -rf public && mv build public
Eugen Rochko's avatar
Eugen Rochko committed
12

Eugen Rochko's avatar
Eugen Rochko committed
13 14
  artifacts:
    paths:
Eugen Rochko's avatar
Eugen Rochko committed
15 16
      - public

Eugen Rochko's avatar
Eugen Rochko committed
17 18
  only:
    - master