Skip to content
Permalink
Browse files

ci: use NOW_TOKEN on travis to deploy

  • Loading branch information
MarshallOfSound committed Jul 4, 2018
1 parent 6b29c32 commit bdaf564e337cf4d09d4d00352ba449f3c6ef784c
Showing with 2 additions and 1 deletion.
  1. +1 −1 ci/script.sh
  2. +1 −0 package.json
@@ -10,6 +10,6 @@ else
echo "$NODE_INSTALLER-$TRAVIS_SECURE_ENV_VARS-$TRAVIS_BRANCH"
if [[ "$NODE_INSTALLER-$TRAVIS_SECURE_ENV_VARS-$TRAVIS_BRANCH" = "yarn-true-master" ]]; then
npm i -g now
bolt docs:deploy
bolt docs:deploy:ci
fi
fi
@@ -31,6 +31,7 @@
"docs:generate": "bolt ws exec -- node_modules/.bin/typedoc --out doc --excludeExternals --ignoreCompilerErrors --mode file --excludePrivate --excludeProtected --hideGenerator",
"docs:position": "ts-node tools/position-docs.ts",
"docs:deploy": "ts-node tools/sync-readmes.ts && bolt docs && ts-node tools/copy-now.ts && cd docs && now && now alias",
"docs:deploy:ci": "ts-node tools/sync-readmes.ts && bolt docs && ts-node tools/copy-now.ts && cd docs && now --token $NOW_TOKEN && now alias --token $NOW_TOKEN",
"lint": "ts-node tools/link-ts.ts && bolt ws exec -- node_modules/.bin/tslint src/**/*.ts test/**/*.ts",
"test": "bolt ws run test"
},

0 comments on commit bdaf564

Please sign in to comment.
You can’t perform that action at this time.