diff options
author | Martin Schanzenbach <mschanzenbach@posteo.de> | 2021-08-30 14:24:50 +0200 |
---|---|---|
committer | Martin Schanzenbach <mschanzenbach@posteo.de> | 2021-08-30 14:24:50 +0200 |
commit | 6fe799db90b3f0bee8ebead1f5f338c27526be24 (patch) | |
tree | 4cd0136db8cc48a217e412001928707b2c69a47c | |
parent | 66797452b6f22607358ac78da996ece224b24c52 (diff) | |
download | www-6fe799db90b3f0bee8ebead1f5f338c27526be24.tar.gz www-6fe799db90b3f0bee8ebead1f5f338c27526be24.zip |
-update deployment
-rwxr-xr-x | .buildbot/firefly-x86_64-amdepyc_deploy.sh | 7 |
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 | ||
5 | chmod -R ag+rX rendered/ | 5 | chmod -R ag+rX rendered/ |
6 | DEPLOY_USER="stage" | 6 | DEPLOY_USER="www" |
7 | if [ $(git rev-parse --abbrev-ref HEAD) == 'stable' ]; then | 7 | if [ $(git rev-parse --abbrev-ref HEAD) == 'stable' ]; then |
8 | DEPLOY_USER="www" | 8 | rsync -a --delete rendered/ $DEPLOY_USER@gnunet.org:~/www_deployment/ |
9 | else | ||
10 | rsync -a --delete rendered/ $DEPLOY_USER@firefly.gnunet.org:~/stage/ | ||
9 | fi | 11 | fi |
10 | rsync -a --delete rendered/ $DEPLOY_USER@gnunet.org:~/www_deployment/ | ||