From 31aa516eec5211a8ca4fc03fc3f213c90b9932a3 Mon Sep 17 00:00:00 2001 From: giles Date: Mon, 23 Oct 2023 03:14:45 +0100 Subject: [PATCH] ......... --- .gitea/workflows/format->develop.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/format->develop.yml b/.gitea/workflows/format->develop.yml index bd9c285..1820e2f 100644 --- a/.gitea/workflows/format->develop.yml +++ b/.gitea/workflows/format->develop.yml @@ -31,7 +31,7 @@ jobs: git clone ${{ github.serverUrl }}/${{ github.repository }} ../cloned git -C ../cloned fetch origin #--depth=1 git -C ../cloned branch -r - git -C ../cloned switch $DEVELOPMENT_BRANCH + git -C ../cloned switch $DEVELOPMENT_BRANCH || git -C ../cloned checkout -b $DEVELOPMENT_BRANCH mv ../cloned/.git .. rm -rf ../cloned cp -r . ../cloned