Fixing deploy.

This commit is contained in:
Dessalines 2020-01-09 11:34:14 -05:00
parent 2b6b179300
commit b486f0be93
1 changed files with 3 additions and 0 deletions

View File

@ -19,3 +19,6 @@ git push
docker-compose build docker-compose build
docker tag dev_torrents-csv:latest dessalines/torrents-csv:$new_tag docker tag dev_torrents-csv:latest dessalines/torrents-csv:$new_tag
docker push dessalines/torrents-csv:$new_tag docker push dessalines/torrents-csv:$new_tag
# SSH and pull it
ssh tyler@45.55.175.59 "cd ~/git/torrents.csv/docker/prod && git pull && docker-compose up -d"