Adding an env deploy. Fixes #410
This commit is contained in:
parent
655c5db59a
commit
48e221d06c
2 changed files with 2 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -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/
|
||||||
|
|
2
docker/dev/dev_deploy.sh
vendored
2
docker/dev/dev_deploy.sh
vendored
|
@ -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"
|
||||||
|
|
Reference in a new issue