From 8cb93deb9235dab74255263ed04e2260c7eca3b8 Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Sat, 1 Oct 2016 18:06:44 +0200 Subject: add deploy.sh --- deploy.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 deploy.sh diff --git a/deploy.sh b/deploy.sh new file mode 100755 index 0000000..df36dbf --- /dev/null +++ b/deploy.sh @@ -0,0 +1,8 @@ +#!/bin/sh +ssh voc@lb.dus.c3voc.de 'sudo sh' << EOT +cd /srv/nginx/streaming-website +git fetch origin +git reset --hard origin/master +chown -R voc:staff . +chown -R downloader configs/conferences +EOT -- cgit v1.2.3