Makefile and post-receive hook for deploying.
This commit is contained in:
committed by
Florian Obser
parent
f2b8adaba0
commit
c1de8266eb
8
gitea-post-receive-hook
Executable file
8
gitea-post-receive-hook
Executable file
@ -0,0 +1,8 @@
|
||||
#!/bin/ksh
|
||||
|
||||
for v in $(typeset +x | egrep -v '(PATH|PWD|SHELL)'); do
|
||||
unset $v
|
||||
done
|
||||
|
||||
cd /var/www/htdocs
|
||||
make
|
Reference in New Issue
Block a user