From ca5d9e392daa6e9c097598bb82837074baf180bf Mon Sep 17 00:00:00 2001 From: Wilhelm Westermark Date: Sun, 11 Nov 2018 16:40:05 +0100 Subject: [PATCH] Added autodeploy stuff --- GitAutoDeploy.conf.json | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 GitAutoDeploy.conf.json diff --git a/GitAutoDeploy.conf.json b/GitAutoDeploy.conf.json new file mode 100644 index 0000000..9661c71 --- /dev/null +++ b/GitAutoDeploy.conf.json @@ -0,0 +1,10 @@ +{ + "port": 8084, + "repositories": + [{ + "url": "https://git.elab.kth.se/davide/ELAB-partsearch", + "path": "/srv/ELAB-partsearch", + "deploy": "echo Deploying and restarting ELAB-partsearch && git reset --hard && git pull" + }] +} +