linuxkurs/deploy.sh
2019-03-06 09:38:15 +01:00

10 lines
191 B
Bash

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