aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.circleci/config.yml9
-rw-r--r--package.json1
2 files changed, 10 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:
diff --git a/package.json b/package.json
index f6338c542..19d3d40f1 100644
--- a/package.json
+++ b/package.json
@@ -232,6 +232,7 @@
"ganache-cli": "^6.1.0",
"ganache-core": "^2.1.0",
"geckodriver": "^1.11.0",
+ "gh-pages": "^1.1.0",
"gifencoder": "^1.1.0",
"gulp": "github:gulpjs/gulp#6d71a658c61edb3090221579d8f97dbe086ba2ed",
"gulp-babel": "^7.0.0",