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 0a07ae6
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,31 @@ jobs:
- run: npm run ci:test
- run: npm run ci:coveralls
- run: npm run flow check

deploy-production:
steps:
- run: echo 'Deploying production'
# run: npm install serverless
# run: ./node_modules/serverless/bin/serverless deploy -s staging

deploy-staging:
steps:
- run: echo 'Deploying staging'

workflows:
version: 2
build_and_deploy:
jobs:
- build
- deploy-production:
requires:
- build
filters:
branches:
only: master
- deploy-staging:
requires:
- build
filters:
branches:
only: deploy

0 comments on commit 0a07ae6

Please sign in to comment.