Add an autodeploy to circle
parent
a4b5ce1b96
commit
9864eb64cf
|
@ -0,0 +1,20 @@
|
|||
---
|
||||
machine:
|
||||
services:
|
||||
- docker
|
||||
|
||||
dependencies:
|
||||
override:
|
||||
- docker info
|
||||
- docker build --rm=false -t influxdata/mrfusion .
|
||||
test:
|
||||
override:
|
||||
- docker run -d -p 8080:5000 -e PORT=5000 influxdata/mrfusion; sleep 10
|
||||
- curl --retry 10 --retry-delay 5 -v http://localhost:8080
|
||||
|
||||
deployment:
|
||||
heroku:
|
||||
branch: develop
|
||||
commands:
|
||||
- docker login -e $HEROKU_EMAIL -u $HEROKU_EMAIL -p $HEROKU_PASS registry.heroku.com
|
||||
- docker push mrfusion-acc/web
|
Loading…
Reference in New Issue