linuxkurs/deploy.sh
2019-02-18 09:13:03 +01:00

10 lines
191 B
Bash
Executable File

#!/bin/bash
deploy() {
git push && rsync -r --exclude-from=.deploy-ignore . pax2ero:/home/dany/www/schubertdaniel/linuxkurs
}
deploy && echo "Deployed" || echo "### some error #####"