summaryrefslogtreecommitdiff
path: root/infra/githooks/post-receive
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2021-02-28 09:18:48 +0100
committerMartin Fischer <martin@push-f.com>2021-03-03 12:52:46 +0100
commit4d43e952fff25b5b131e8699858da663a5ac2c42 (patch)
treeacff62119061480a1cd7580f25c16c539aabc2ae /infra/githooks/post-receive
initial commit
Diffstat (limited to 'infra/githooks/post-receive')
-rwxr-xr-xinfra/githooks/post-receive4
1 files changed, 4 insertions, 0 deletions
diff --git a/infra/githooks/post-receive b/infra/githooks/post-receive
new file mode 100755
index 0000000..527b5b1
--- /dev/null
+++ b/infra/githooks/post-receive
@@ -0,0 +1,4 @@
+#!/bin/bash
+cd ..
+go build lexsurf.go
+sudo systemctl restart lexsurf