aboutsummaryrefslogtreecommitdiff
path: root/.build.yml
diff options
context:
space:
mode:
Diffstat (limited to '.build.yml')
-rw-r--r--.build.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.build.yml b/.build.yml
index 58f0cb2..e073e79 100644
--- a/.build.yml
+++ b/.build.yml
@@ -12,5 +12,6 @@ tasks:
cd website
make
- deploy: |
+ [ "$(git rev-parse --abbrev-ref HEAD)" = master ] || exit 0
sshopt="--rsh=ssh -o StrictHostKeyChecking=no"
rsync "$sshopt" -av --delete website/docs/ user-data@carbslinux.org:www/carbslinux.org