mirror of https://github.com/LemmyNet/lemmy.git
13 lines
333 B
Bash
Executable File
13 lines
333 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Building from the dev branch for dev servers
|
|
git checkout dev
|
|
|
|
# Rebuilding dev docker
|
|
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"
|