From 388ce5b79fb5f9d96de9c916c422dbab1f17f918 Mon Sep 17 00:00:00 2001 From: Jacob Lifshay Date: Thu, 11 Apr 2024 02:00:06 -0700 Subject: [PATCH] fix ci --- .forgejo/workflows/deploy.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/deploy.yml b/.forgejo/workflows/deploy.yml index 0c5d6e9..fd3cdae 100644 --- a/.forgejo/workflows/deploy.yml +++ b/.forgejo/workflows/deploy.yml @@ -30,11 +30,13 @@ jobs: hash="$(git log -n 1 --format=reference)" git branch -D rendered &> /dev/null || true git worktree add --detach --no-checkout dist + cd dist + git switch --orphan=rendered + cd .. mv dist/.git book/.git rmdir dist mv book/ dist/ cd dist - git switch --orphan=rendered git add . git config user.name "CI" git config user.email "ci@noreply.libre-chip.org"