aboutsummaryrefslogtreecommitdiff
path: root/.buildbot/firefly-x86_64-amdepyc_deploy.sh
blob: f77bb64f46db666a6b66bac0b3c9486b90cf8a38 (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@firefly.gnunet.org:~/stable/
else
  rsync -a --delete rendered/ $DEPLOY_USER@firefly.gnunet.org:~/stage/
fi