linuxkurs/deploy.sh

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 #####"