update docs only master

This commit is contained in:
Ibby Hadeed 2017-03-28 20:13:44 -04:00
parent e474b2987f
commit 3e124f1807

View File

@ -24,12 +24,18 @@ jobs:
name: Install node modules name: Install node modules
command: npm i command: npm i
- save_cache: - save_cache:
key: node_modules_{{ checksum "package.json" }} # used cached node_modules if package.json didn't change key: node_modules_{{ checksum "package.json" }}
paths: paths:
- ~/ionic-native/node_modules/ - ~/ionic-native/node_modules/
- run: - run:
name: Run tslint name: Run tslint
command: npm run lint command: npm run lint
- run: - deploy:
name: Update docs name: Update docs
command: ./scripts/docs/update_docs.sh command: |
if [ "${CIRCLE_BRANCH}" == "cci2" ]; then
# update docs since we're on master
./scripts/docs/update_docs.sh
else
echo "We are on ${CIRCLE_BRANCH} branch, not going to update docs"
fi