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"