aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schanzenbach <mschanzenbach@posteo.de>2020-05-14 12:12:04 +0200
committerMartin Schanzenbach <mschanzenbach@posteo.de>2020-05-14 12:12:04 +0200
commit1ebd7c36926a85512f417d6619b09f91dda93687 (patch)
tree4c95160ab0d7f666b232a5f960ae9348228d0610
parentae000dc1cbf63b881eaa3ccaeb8762c537910a4f (diff)
downloadwww-1ebd7c36926a85512f417d6619b09f91dda93687.tar.gz
www-1ebd7c36926a85512f417d6619b09f91dda93687.zip
add deploy script
-rwxr-xr-x.buildbot/firefly-x86_64-amdepyc_deploy.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/.buildbot/firefly-x86_64-amdepyc_deploy.sh b/.buildbot/firefly-x86_64-amdepyc_deploy.sh
new file mode 100755
index 00000000..baad1bae
--- /dev/null
+++ b/.buildbot/firefly-x86_64-amdepyc_deploy.sh
@@ -0,0 +1,10 @@
1#!/bin/bash
2
3# Deploy websites from buildbot
4
5chmod -R ag+rX rendered/
6DEPLOY_USER="stage"
7if [ $(git rev-parse --abbrev-ref HEAD) == 'stable' ]; then
8 DEPLOY_USER="www"
9fi
10rsync -a --delete rendered/ $DEPLOY_USER@gnunet.org:~/www_deployment/