diff options
ci - add docs publish to job-publish-release
Diffstat (limited to '.circleci')
-rw-r--r-- | .circleci/config.yml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml index 9db2016bc..243c880be 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -80,6 +80,7 @@ workflows: requires: - prep-deps-npm - prep-build + - prep-docs - job-screens - all-tests-pass @@ -290,10 +291,18 @@ jobs: - restore_cache: key: build-cache-{{ .Revision }} - restore_cache: + key: docs-cache-{{ .Revision }} + - restore_cache: key: job-screens-{{ .Revision }} - run: name: sentry sourcemaps upload command: npm run sentry:publish + - run: + name: github gh-pages docs publish + command: > + git config user.name metamaskbot + git config user.email admin@metamask.io + gh-pages -d docs/jsdocs test-unit: docker: |