Add CI config for docusuarus deployment

This commit is contained in:
Matej Sima 2019-05-23 20:14:08 +02:00
parent 38184d22a0
commit f664320d2f

17
website/.gitlab-ci.yml Normal file
View File

@ -0,0 +1,17 @@
image: node:8
before_script:
- cd website
- npm install
pages:
script:
- npm run build
- cd ..
- mkdir public
- mv website/build/test-site/* public
artifacts:
paths:
- public
only:
- master