aboutsummaryrefslogtreecommitdiff
path: root/.buildbot/firefly-x86_64-amdepyc_deploy.sh
blob: 13dde2006e9f6688bb66a761426426bd682daf0c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

# Deploy websites from buildbot

chmod -R ag+rX rendered/
DEPLOY_USER="www"
if [ $(git rev-parse --abbrev-ref HEAD) == 'stable' ]; then
  rsync -a --delete rendered/ $DEPLOY_USER@gnunet.org:~/www_deployment/
else
  rsync -a --delete rendered/ $DEPLOY_USER@firefly.gnunet.org:~/stage/
fi