aboutsummaryrefslogtreecommitdiff
path: root/.buildbot/firefly-x86_64-amdepyc_deploy.sh
diff options
context:
space:
mode:
Diffstat (limited to '.buildbot/firefly-x86_64-amdepyc_deploy.sh')
-rwxr-xr-x.buildbot/firefly-x86_64-amdepyc_deploy.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/.buildbot/firefly-x86_64-amdepyc_deploy.sh b/.buildbot/firefly-x86_64-amdepyc_deploy.sh
index baad1bae..13dde200 100755
--- a/.buildbot/firefly-x86_64-amdepyc_deploy.sh
+++ b/.buildbot/firefly-x86_64-amdepyc_deploy.sh
@@ -3,8 +3,9 @@
3# Deploy websites from buildbot 3# Deploy websites from buildbot
4 4
5chmod -R ag+rX rendered/ 5chmod -R ag+rX rendered/
6DEPLOY_USER="stage" 6DEPLOY_USER="www"
7if [ $(git rev-parse --abbrev-ref HEAD) == 'stable' ]; then 7if [ $(git rev-parse --abbrev-ref HEAD) == 'stable' ]; then
8 DEPLOY_USER="www" 8 rsync -a --delete rendered/ $DEPLOY_USER@gnunet.org:~/www_deployment/
9else
10 rsync -a --delete rendered/ $DEPLOY_USER@firefly.gnunet.org:~/stage/
9fi 11fi
10rsync -a --delete rendered/ $DEPLOY_USER@gnunet.org:~/www_deployment/