aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2018-05-19 05:03:02 +0800
committerkumavis <aaron@kumavis.me>2018-05-19 05:03:02 +0800
commit59c9852999293adaeee4c036b64ca65182879e92 (patch)
treedfe2411403c53edaed38c65a329d010f472fe268
parent2d4d77b17d0494182c3dc70c3d5bf9a866d384a9 (diff)
downloadtangerine-wallet-browser-59c9852999293adaeee4c036b64ca65182879e92.tar
tangerine-wallet-browser-59c9852999293adaeee4c036b64ca65182879e92.tar.gz
tangerine-wallet-browser-59c9852999293adaeee4c036b64ca65182879e92.tar.bz2
tangerine-wallet-browser-59c9852999293adaeee4c036b64ca65182879e92.tar.lz
tangerine-wallet-browser-59c9852999293adaeee4c036b64ca65182879e92.tar.xz
tangerine-wallet-browser-59c9852999293adaeee4c036b64ca65182879e92.tar.zst
tangerine-wallet-browser-59c9852999293adaeee4c036b64ca65182879e92.zip
ci - add docs publish to job-publish-release
-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",