summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xgitautodeploy/data/git-auto-deploy.conf.json34
1 files changed, 34 insertions, 0 deletions
diff --git a/gitautodeploy/data/git-auto-deploy.conf.json b/gitautodeploy/data/git-auto-deploy.conf.json
new file mode 100755
index 0000000..e8ab9d1
--- /dev/null
+++ b/gitautodeploy/data/git-auto-deploy.conf.json
@@ -0,0 +1,34 @@
+{
+// "pidfilepath": "/var/run/git-auto-deploy/git-auto-deploy.pid",
+ "logfilepath": "/var/log/git-auto-deploy.log",
+ "host": "0.0.0.0",
+ "port": 8001,
+ "global_deploy": [
+ "echo Deploy started!",
+ "echo Deploy completed!"
+ ],
+ "repositories": [
+ {
+ "url": "https://github.com/olipo186/Git-Auto-Deploy.git",
+ "branch": "master",
+ "remote": "origin",
+ "path": "/var/lib/git-auto-deploy/Git-Auto-Deploy",
+ "deploy": "echo deploying"
+ },
+ {
+ "url": "https://github.com/github/gitignore",
+ "path": "/var/lib/git-auto-deploy/gitignore"
+ }
+// ,{
+// "url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy",
+// "deploy": "echo deploying after pull request",
+// "filters": [
+// {
+// "type": "pull-request-filter",
+// "action": "closed",
+// "ref": "testing-branch"
+// }
+// ]
+// }
+ ]
+} \ No newline at end of file