circleci: remove deploy

This commit is contained in:
simon lehericey 2018-10-18 17:06:02 +02:00
parent bffeeaf954
commit e41a597386

View file

@ -92,24 +92,6 @@ jobs:
- run:
name: Run linters
command: bundle exec rake lint
deploy:
<<: *defaults
steps:
- checkout
- *bundle_restore_cache
- *bundle_install
- add_ssh_keys:
fingerprints:
- "0e:db:db:9c:54:ac:60:1a:d3:ba:28:03:2e:7d:0e:9a"
- deploy:
command: |
if [ "${CIRCLE_BRANCH}" == "dev" ]; then
bundle exec rake deploy to=staging
fi
if [ "${CIRCLE_BRANCH}" == "master" ]; then
bundle exec rake deploy to=production
fi
workflows:
version: 2
@ -122,12 +104,3 @@ workflows:
- lint:
requires:
- build
- deploy:
filters:
branches:
only:
- dev
- master
requires:
- test
- lint