test cci2

This commit is contained in:
Ibby Hadeed 2017-03-28 19:31:39 -04:00
parent ee269669aa
commit b0710cad1e

View File

@ -1,26 +1,35 @@
machine: version: 2
node: jobs:
version: 5.5.0 build:
ruby: working_directory: ~/ionic-native/
version: 2.1.2 docker:
- image: node:7
general: branches:
branches: - only:
only: - cci2
- master # ignore PRs and branches steps:
- checkout
dependencies: - run:
pre: name: Install node modules
- ./scripts/docs/prepare.sh run: npm i
cache_directories: deployDocs:
- "~/ionic-site" # cache ionic-site working_directory: ~/ionic-native/
docker:
test: - image: node:7
override: branches:
- echo "No tests to run" - only:
- cci2 # set this to master
deployment: steps:
staging: - run:
branch: master name: Prepare ionic-site repo
commands: command: ./scripts/docs/prepare.sh
- ./scripts/docs/update_docs.sh - save_cache:
paths:
- ~/ionic-site/
- checkout
- run:
name: Install node modules
command: npm i
- run:
name: Update docs
command: ./scripts/docs/update_docs.sh