Adding an env deploy. Fixes #410

This commit is contained in:
Dessalines 2020-01-14 17:14:02 -05:00
parent 655c5db59a
commit 48e221d06c
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View file

@ -1,5 +1,6 @@
ansible/inventory ansible/inventory
ansible/passwords/ ansible/passwords/
docker/lemmy_mine.hjson docker/lemmy_mine.hjson
docker/dev/env_deploy.sh
build/ build/
.idea/ .idea/

View file

@ -9,4 +9,4 @@ docker tag dev_lemmy:latest dessalines/lemmy:dev
docker push dessalines/lemmy:dev docker push dessalines/lemmy:dev
# SSH and pull it # SSH and pull it
ssh tyler@45.55.175.59 "cd ~/git/lemmy/docker/dev && docker pull dessalines/lemmy:dev && docker-compose up -d" ssh $LEMMY_USER@$LEMMY_HOST "cd ~/git/lemmy/docker/dev && docker pull dessalines/lemmy:dev && docker-compose up -d"