From: Dessalines Date: Tue, 14 Jan 2020 22:14:02 +0000 (-0500) Subject: Adding an env deploy. Fixes #410 X-Git-Url: http://these/git/%7B%60%24%7BwebArchiveUrl%7D/%22%7B%7D/%24%7B%60data:application/%22https:/hacktivis.me/%7Bthis.captchaPngSrc%28%29%7D?a=commitdiff_plain;h=a93ab4bcd1f023ab883da73b70b666d711d59e4c;p=lemmy.git Adding an env deploy. Fixes #410 --- diff --git a/.gitignore b/.gitignore index 16548f36..7fac3d5f 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 5bbbff6d..ef41434b 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"