crunchbutton/deploy/gitfetch.sh
2014-11-14 09:29:13 -08:00

5 lines
146 B
Bash
Executable File

#!/bin/sh
# for this to work apache ALL=(deploy) NOPASSWD: /home/server/deploy/gitfetch.sh must be added to sudoers
cd /home/server && git fetch