diff options
author | Martin Schanzenbach <mschanzenbach@posteo.de> | 2020-05-14 12:12:04 +0200 |
---|---|---|
committer | Martin Schanzenbach <mschanzenbach@posteo.de> | 2020-05-14 12:12:04 +0200 |
commit | 1ebd7c36926a85512f417d6619b09f91dda93687 (patch) | |
tree | 4c95160ab0d7f666b232a5f960ae9348228d0610 | |
parent | ae000dc1cbf63b881eaa3ccaeb8762c537910a4f (diff) |
add deploy script
-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/ |