aboutsummaryrefslogtreecommitdiff
path: root/.buildbot
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 /.buildbot
parent66797452b6f22607358ac78da996ece224b24c52 (diff)
downloadwww-6fe799db90b3f0bee8ebead1f5f338c27526be24.tar.gz
www-6fe799db90b3f0bee8ebead1f5f338c27526be24.zip
-update deployment
Diffstat (limited to '.buildbot')
-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/