mirror of
https://github.com/LemmyNet/lemmy
synced 2024-11-26 14:30:21 +00:00
16 lines
300 B
Bash
Executable file
Vendored
16 lines
300 B
Bash
Executable file
Vendored
#!/bin/bash
|
|
set -e
|
|
|
|
BRANCH=$1
|
|
|
|
git checkout $BRANCH
|
|
cd ../../
|
|
|
|
# Rebuilding dev docker
|
|
sudo docker build . -f "docker/dev/Dockerfile" -t "dessalines/lemmy:$BRANCH"
|
|
sudo docker push "dessalines/lemmy:$BRANCH"
|
|
|
|
# Run the playbook
|
|
pushd ../lemmy-ansible
|
|
ansible-playbook -i test playbooks/site.yml
|
|
popd
|