.gitlab-ci.yml 233 B

123456789101112131415161718192021
  1. image: node
  2. before_script:
  3. - npm install
  4. cache:
  5. paths:
  6. - node_modules/
  7. pages:
  8. stage: deploy
  9. script:
  10. - unset CI
  11. - npm run build
  12. - mv web public
  13. artifacts:
  14. paths:
  15. - public
  16. only:
  17. - master