summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schanzenbach <mschanzenbach@posteo.de>2021-08-30 14:24:50 +0200
committerMartin Schanzenbach <mschanzenbach@posteo.de>2021-08-30 14:24:50 +0200
commit6fe799db90b3f0bee8ebead1f5f338c27526be24 (patch)
tree4cd0136db8cc48a217e412001928707b2c69a47c
parent66797452b6f22607358ac78da996ece224b24c52 (diff)
-update deployment
-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 @@
# Deploy websites from buildbot
chmod -R ag+rX rendered/
-DEPLOY_USER="stage"
+DEPLOY_USER="www"
if [ $(git rev-parse --abbrev-ref HEAD) == 'stable' ]; then
- DEPLOY_USER="www"
+ rsync -a --delete rendered/ $DEPLOY_USER@gnunet.org:~/www_deployment/
+else
+ rsync -a --delete rendered/ $DEPLOY_USER@firefly.gnunet.org:~/stage/
fi
-rsync -a --delete rendered/ $DEPLOY_USER@gnunet.org:~/www_deployment/