nginx-server-from-git/update.sh

7 lines
69 B
Bash
Executable File

#!/bin/sh
old_pwd=$PWD
cd /var/www/html
git pull
export PWD=old_pwd