diff options
author | Winnie Hellmann <winnie@gitlab.com> | 2019-01-14 21:46:21 +0000 |
---|---|---|
committer | Clement Ho <clemmakesapps@gmail.com> | 2019-01-14 21:46:21 +0000 |
commit | 7999ca32241e785df539fc0d3a354f97bc2266a0 (patch) | |
tree | 01d46a35ab2ebaac758a5f8a6b7924be83cbf8ad /.gitlab-ci.yml | |
parent | 3de1b521b7502adf380a241b2136d9cd0c17c4e3 (diff) | |
download | gitlab-ce-7999ca32241e785df539fc0d3a354f97bc2266a0.tar.gz |
Generate searchable JSDoc documentation
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 18e2c998ee8..6cbc8e21c76 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -850,6 +850,21 @@ lint:javascript:report: paths: - eslint-report.html +jsdoc: + <<: *dedicated-no-docs-pull-cache-job + stage: post-test + dependencies: + - compile-assets + before_script: [] + script: + - date + - yarn run jsdoc || true # ignore exit code + artifacts: + name: jsdoc + expire_in: 31d + paths: + - jsdoc/ + pages: <<: *dedicated-no-docs-no-db-pull-cache-job before_script: [] @@ -859,6 +874,7 @@ pages: - karma - gitlab:assets:compile - lint:javascript:report + - jsdoc script: - mv public/ .public/ - mkdir public/ @@ -868,6 +884,7 @@ pages: - mv webpack-report/ public/webpack-report/ || true - cp .public/assets/application-*.css public/application.css || true - cp .public/assets/application-*.css.gz public/application.css.gz || true + - mv jsdoc/ public/jsdoc/ || true artifacts: paths: - public |