ci: move docs to public folder

This commit is contained in:
Anselm Stordeur
2018-11-28 18:50:23 +01:00
parent ebae32b88f
commit 9cde9aa95a

View File

@@ -18,22 +18,22 @@ build:
stage: build
script:
- npm run build
artifacts:
untracked: true
paths:
- node_modules/
test:
stage: test
script:
- npm test
artifacts:
paths:
- coverage
docs:
stage: publish
script:
- npm run documentation
- mv docs public
only:
- /^v[0-9]+\.[0-9]+\.[0-9]+$/
artifacts:
paths:
- docs
- public