9 lines
143 B
Bash
9 lines
143 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
cd /var/www/html
|
||
|
[ -d .git ] || git clone ${NGINX_SERVER_GIT_URL} .
|
||
|
|
||
|
git pull
|
||
|
nginx&
|
||
|
python /hook/docker-hook -c sh /hook/update.sh
|