From 6d89f6f9559a94ea7ed5b4e5df72a39f085aa98f Mon Sep 17 00:00:00 2001 From: Dessalines Date: Tue, 7 Jan 2020 12:53:32 -0500 Subject: [PATCH] Adding ssh docker commands to dev deploy. --- docker/dev/dev_deploy.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker/dev/dev_deploy.sh b/docker/dev/dev_deploy.sh index 4bf1d96c..5bbbff6d 100755 --- a/docker/dev/dev_deploy.sh +++ b/docker/dev/dev_deploy.sh @@ -7,3 +7,6 @@ git checkout dev docker-compose build 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"