mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-10-01 01:36:12 -04:00
13 lines
338 B
Bash
Executable File
Vendored
13 lines
338 B
Bash
Executable File
Vendored
#!/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 $LEMMY_USER@$LEMMY_HOST "cd ~/git/lemmy/docker/dev && docker pull dessalines/lemmy:dev && docker-compose up -d"
|