aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaZderMind2016-10-01 18:06:44 +0200
committerMaZderMind2016-10-01 18:06:44 +0200
commit8cb93deb9235dab74255263ed04e2260c7eca3b8 (patch)
treef026367f4bac7219a27a7e53c889e0fac8aee494
parente5147f5544c5e4603442c4140193b5c9a118b57e (diff)
add deploy.sh
Diffstat (limited to '')
-rwxr-xr-xdeploy.sh8
1 files changed, 8 insertions, 0 deletions
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