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 @@ | |||
1 | #!/bin/bash | ||
2 | |||
3 | # Deploy websites from buildbot | ||
4 | |||
5 | chmod -R ag+rX rendered/ | ||
6 | DEPLOY_USER="stage" | ||
7 | if [ $(git rev-parse --abbrev-ref HEAD) == 'stable' ]; then | ||
8 | DEPLOY_USER="www" | ||
9 | fi | ||
10 | rsync -a --delete rendered/ $DEPLOY_USER@gnunet.org:~/www_deployment/ | ||