From 48e221d06cd87d79bb872581a8c1c8571ff8804f Mon Sep 17 00:00:00 2001 From: Dessalines Date: Tue, 14 Jan 2020 17:14:02 -0500 Subject: [PATCH] Adding an env deploy. Fixes #410 --- .gitignore | 1 + docker/dev/dev_deploy.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 16548f3..7fac3d5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ ansible/inventory ansible/passwords/ docker/lemmy_mine.hjson +docker/dev/env_deploy.sh build/ .idea/ diff --git a/docker/dev/dev_deploy.sh b/docker/dev/dev_deploy.sh index 5bbbff6..ef41434 100755 --- a/docker/dev/dev_deploy.sh +++ b/docker/dev/dev_deploy.sh @@ -9,4 +9,4 @@ docker tag dev_lemmy:latest dessalines/lemmy:dev docker push dessalines/lemmy:dev # 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"