Skip to content

Commit

Permalink
ci: use NOW_TOKEN on travis to deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
MarshallOfSound committed Jul 4, 2018
1 parent 6b29c32 commit bdaf564
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ci/script.sh
Expand Up @@ -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
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -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"
},
Expand Down

0 comments on commit bdaf564

Please sign in to comment.