Updated go.mod

This commit is contained in:
Russ Magee 2022-04-09 20:14:29 -07:00
parent d5e9b26df2
commit ed304c794e
2 changed files with 1 additions and 16 deletions

View File

@ -1,15 +0,0 @@
#!/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
read old new ref
echo "** push hook"
echo "** old: ${old}"
echo "** new: ${new}"
echo "** ref: ${ref}"
## 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-hkexsh-build?ref=${ref}&old=${old}&new=${new}" >/dev/null 2>&1

2
go.mod
View File

@ -1,6 +1,6 @@
module blitter.com/go/bacillus
go 1.14
go 1.17
require (
blitter.com/go/brevity v1.0.0