threadr.lostcave.ddnss.de/commands_git.conf

3 lines
232 B
Plaintext
Raw Normal View History

2020-03-08 02:48:31 +01:00
echo "pushd /var/www/git/; rm -rvf web-deployment; git clone git@strassenkind.ip:root/web-deployment.git; popd" | bash -
echo "pushd /var/www/git/web-deployment; chmod +x deployment-script.sh; ./deployment-script.sh; popd" | bash -