diff options
Diffstat (limited to '.buildbot/firefly-x86_64-amdepyc_deploy.sh')
-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 @@ # 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/ |