bacillus/example_workdir/bacillus_post-receive.sample
Russ Magee 71c2148155 Added -w option to specify workdir
Renamed repo workdir/ to example_workdir/, bacillus_launch explicitly uses this for demo

Signed-off-by: Russ Magee <rmagee@gmail.com>
2019-03-28 23:30:39 -07:00

12 lines
448 B
Bash
Executable File

#!/usr/bin/env bash
"/home/git/go/src/github.com/gogs/gogs/gogs" hook --config='/home/git/go/src/github.com/gogs/gogs/custom/conf/app.ini' post-receive
echo "** push hook"
## NOTE In my setup bacillus is behind a reverse proxy, 'bacillus.blitter.com'
## and therefore must be addressed via https://bacillus.blitter.com/
## though it runs http:// on port 9990.
/usr/bin/curl -s https://bacillus.blitter.com/onPush-bacillus-build >/dev/null 2>&1