5 lines
146 B
Bash
Executable File
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 |