circleci: remove deploy
This commit is contained in:
parent
bffeeaf954
commit
e41a597386
1 changed files with 0 additions and 27 deletions
|
@ -92,24 +92,6 @@ jobs:
|
||||||
- run:
|
- run:
|
||||||
name: Run linters
|
name: Run linters
|
||||||
command: bundle exec rake lint
|
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:
|
workflows:
|
||||||
version: 2
|
version: 2
|
||||||
|
@ -122,12 +104,3 @@ workflows:
|
||||||
- lint:
|
- lint:
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
- deploy:
|
|
||||||
filters:
|
|
||||||
branches:
|
|
||||||
only:
|
|
||||||
- dev
|
|
||||||
- master
|
|
||||||
requires:
|
|
||||||
- test
|
|
||||||
- lint
|
|
||||||
|
|
Loading…
Reference in a new issue