Skip to content

Commit

Permalink
Testing CI Wooork
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrei committed Jan 5, 2018
1 parent 86c8f2b commit 42978f7
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ version: 2
jobs:
build:
docker:
# specify the version you desire here
- image: circleci/node:7.10

working_directory: ~/api-services
Expand All @@ -31,3 +30,11 @@ jobs:
- run: npm run ci:test
- run: npm run ci:coveralls
- run: npm run flow check

- deploy:
command: |
if [ "${CIRCLE_BRANCH}" == "deploy" ]; then
npm install serverless
./node_modules/serverless/bin/serverless deploy -s staging
fi

0 comments on commit 42978f7

Please sign in to comment.