mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-22 06:36:14 +00:00
17 lines
300 B
Bash
Executable file
Vendored
17 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
|