From a93ab4bcd1f023ab883da73b70b666d711d59e4c 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 16548f36c..7fac3d5fe 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 5bbbff6d7..ef41434b3 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"