diff options
author | MaZderMind | 2016-10-01 18:06:44 +0200 |
---|---|---|
committer | MaZderMind | 2016-10-01 18:06:44 +0200 |
commit | 8cb93deb9235dab74255263ed04e2260c7eca3b8 (patch) | |
tree | f026367f4bac7219a27a7e53c889e0fac8aee494 | |
parent | e5147f5544c5e4603442c4140193b5c9a118b57e (diff) |
add deploy.sh
Diffstat (limited to '')
-rwxr-xr-x | deploy.sh | 8 |
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 |