aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-07-13 14:02:40 +0300
committerCem Keylan <cem@ckyln.com>2021-07-13 14:02:40 +0300
commit25cfa83501cf9b0a1f79d7d94af13b0866c33aa7 (patch)
tree71e5be02833b3d17406dce94133303c2dac6146d
parent328332c4fc6e201e5869a059e3132769a7843726 (diff)
downloadwebsite-25cfa83501cf9b0a1f79d7d94af13b0866c33aa7.tar.gz
.build.yml: cd into the git directory
-rw-r--r--.build.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.build.yml b/.build.yml
index e073e79..715cb96 100644
--- a/.build.yml
+++ b/.build.yml
@@ -12,6 +12,6 @@ tasks:
cd website
make
- deploy: |
- [ "$(git rev-parse --abbrev-ref HEAD)" = master ] || exit 0
+ [ "$(git -C website 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