bugfix:fix return code && test git hook
This commit is contained in:
parent
8b3c4a3a04
commit
7c800a4689
2
run.sh
2
run.sh
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
rm -rf /etc/nginx/sites-available/* /etc/nginx/sites-enabled/*
|
rm -rf /etc/nginx/sites-available/* /etc/nginx/sites-enabled/*
|
||||||
|
|
||||||
cd /home/ubuntu/code/nginx-conf || return
|
cd /home/ubuntu/code/nginx-conf || return 1
|
||||||
|
|
||||||
cp -r ./sites-available/ /etc/nginx/
|
cp -r ./sites-available/ /etc/nginx/
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user