webhook deploy fix
This commit is contained in:
parent
3a921226c0
commit
1163cd6ff0
@ -73,7 +73,7 @@ apt-get install webhook
|
||||
# hook deploy script
|
||||
cp "$_assets"/webhook-deploy.sh /home/"$user"/webhook-deploy-"$_domain".sh
|
||||
sed -i -r "s/DOMAIN/$_domain/g" /home/"$user"/webhook-deploy-"$_domain".sh
|
||||
chmod +x /"$user"/webhook-deploy-"$_domain".sh
|
||||
chmod +x /home/"$user"/webhook-deploy-"$_domain".sh
|
||||
|
||||
# remove git bare repos hook
|
||||
mv /home/"$user"/git-repositories/"$_domain".git/hooks/post-receive /home/"$user"/git-repositories/"$_domain".git/hooks/post-receive.back
|
||||
|
Loading…
x
Reference in New Issue
Block a user