瀏覽代碼

configurable stuff in now out of the script

Oz N Tiram 9 年之前
父節點
當前提交
ec2df81817
共有 1 個文件被更改,包括 10 次插入0 次删除
  1. 10 0
      hooks/post-update.conf

+ 10 - 0
hooks/post-update.conf

@@ -0,0 +1,10 @@
+# EDIT THE FOLLOWING VARIABLES TO FIT YOUR NEEDS
+# THE KEY SHOULD ALSO BE KNOWN ON THE SERVER THAT LISTENS TO SUBMITS
+
+SECRET_KEY=VERYSECRETLONGKEYYOUSHOULDDEFINITELYEDIT
+SUBMIT_HOST=127.0.0.1
+SUBMIT_PORT=8080
+
+GITURL="git@yourhost.domain:oz123/frank.git"
+# GITHUB USES X-Hub-Secret, feel free to create your own key name
+SECRET_KEY_NAME=X-Secret