summaryrefslogtreecommitdiff
path: root/infra/githooks/post-receive
diff options
context:
space:
mode:
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