From 25cfa83501cf9b0a1f79d7d94af13b0866c33aa7 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Tue, 13 Jul 2021 14:02:40 +0300 Subject: .build.yml: cd into the git directory --- .build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3