]> Untitled Git - lemmy.git/commitdiff
Adding ssh docker commands to dev deploy.
authorDessalines <tyhou13@gmx.com>
Tue, 7 Jan 2020 17:53:32 +0000 (12:53 -0500)
committerDessalines <tyhou13@gmx.com>
Tue, 7 Jan 2020 17:53:32 +0000 (12:53 -0500)
docker/dev/dev_deploy.sh

index 4bf1d96c35c0ed31007641ff936b1e25e7e0af08..5bbbff6d70ac0cedbfb5a339469ecb7fbe254f95 100755 (executable)
@@ -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"