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 stage: build
script: script:
- npm run build - npm run build
artifacts:
untracked: true
paths:
- node_modules/
test: test:
stage: test stage: test
script: script:
- npm test - npm test
artifacts:
paths:
- coverage
docs: docs:
stage: publish stage: publish
script: script:
- npm run documentation - npm run documentation
- mv docs public
only: only:
- /^v[0-9]+\.[0-9]+\.[0-9]+$/ - /^v[0-9]+\.[0-9]+\.[0-9]+$/
artifacts: artifacts:
paths: paths:
- docs - public