Skip to content

Commit

Permalink
Fix design app deployment (decidim#3969)
Browse files Browse the repository at this point in the history
* Add docker YML

* Don't push to docker
  • Loading branch information
josepjaume authored Aug 6, 2018
1 parent 8587988 commit 774aed6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
9 changes: 1 addition & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -409,14 +409,7 @@ jobs:
- run:
name: Build image
command: |
docker build -t registry.heroku.com/decidim-design/web -f Dockerfile.design .
- run:
name: Push deployment image
command: |
if [ "${CIRCLE_BRANCH}" == "master" ]; then
docker login --username=_ --password=$HEROKU_AUTH_TOKEN registry.heroku.com
docker push registry.heroku.com/decidim-design/web
fi
docker build -f Dockerfile.design .
upload-coverage:
<<: *defaults
environment:
Expand Down
5 changes: 5 additions & 0 deletions heroku.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
build:
docker:
web: Dockerfile.design
run:
web: bundle exec rails s -p $PORT

0 comments on commit 774aed6

Please sign in to comment.