diff options
Diffstat (limited to '.buildbot/firefly-x86_64-amdepyc_deploy.sh')
-rwxr-xr-x | .buildbot/firefly-x86_64-amdepyc_deploy.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/.buildbot/firefly-x86_64-amdepyc_deploy.sh b/.buildbot/firefly-x86_64-amdepyc_deploy.sh new file mode 100755 index 00000000..baad1bae --- /dev/null +++ b/.buildbot/firefly-x86_64-amdepyc_deploy.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +# Deploy websites from buildbot + +chmod -R ag+rX rendered/ +DEPLOY_USER="stage" +if [ $(git rev-parse --abbrev-ref HEAD) == 'stable' ]; then + DEPLOY_USER="www" +fi +rsync -a --delete rendered/ $DEPLOY_USER@gnunet.org:~/www_deployment/ |