lemmy/docker/dev/test_deploy.sh

12 lines
271 B
Bash
Raw Normal View History

2020-04-14 14:07:40 +00:00
#!/bin/sh
# Rebuilding dev docker
docker-compose build
docker tag dev_lemmy:latest dessalines/lemmy:test
docker push dessalines/lemmy:test
# Run the playbook
pushd ../../../lemmy-ansible
ansible-playbook -i test playbooks/site.yml --vault-password-file vault_pass
popd