From 546acf23ecf3d926d3d3d587a4a34ce570646ac4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Lindstr=C3=B6m?= Date: Sat, 6 Jul 2024 15:02:56 +0200 Subject: [PATCH] Correct check to see if we are on main branch in CI --- .build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.build.yml b/.build.yml index 20c05f5..0f7eae3 100644 --- a/.build.yml +++ b/.build.yml @@ -7,8 +7,8 @@ packages: sources: - https://git.sr.ht/~bkhl/elektrubadur.se tasks: - - complete-unless-main: >- - git diff --quiet --exit-code origin/main || complete-build + - complete-unless-main: | + git -C elektrubadur.se diff --quiet --exit-code origin/main || complete-build - publish: >- make -C elektrubadur.se publish - publish_redirect: >- -- 2.45.2