diff options
author | Cem Keylan <cem@ckyln.com> | 2021-07-13 13:59:59 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2021-07-13 13:59:59 +0300 |
commit | 328332c4fc6e201e5869a059e3132769a7843726 (patch) | |
tree | e938897172f5e5885febb536a2d008c92ab9301c | |
parent | 5f70d9dd4686b304faac20ea1c0c23450042bacd (diff) | |
download | website-328332c4fc6e201e5869a059e3132769a7843726.tar.gz |
don't deploy unless in the master branch
-rw-r--r-- | .build.yml | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |