Add CI config for docusuarus deployment
This commit is contained in:
parent
38184d22a0
commit
f664320d2f
17
website/.gitlab-ci.yml
Normal file
17
website/.gitlab-ci.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user