Skip to content

Commit

Permalink
fix: deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
gerardabello committed Jan 29, 2019
1 parent 5e51575 commit 0036ea9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Expand Up @@ -68,6 +68,10 @@ before_deploy:
- cd backend
- API_HOST=https://api.unwel.ch yarn run build
- cd ..
- docker build -t frontend ./frontend
- docker tag frontend unwelch/frontend
- docker build -t backend ./backend
- docker tag backend unwelch/backend

deploy:
provider: script
Expand Down
4 changes: 0 additions & 4 deletions deploy.sh
@@ -1,7 +1,3 @@
docker login -u="$DOCKERHUB_USERNAME" -p="$DOCKERHUB_PASSWORD"
docker build -t frontend ./frontend
docker tag frontend unwelch/frontend
docker build -t backend ./backend
docker tag backend unwelch/backend
docker push unwelch/frontend
docker push unwelch/backend

0 comments on commit 0036ea9

Please sign in to comment.