fix ci
This commit is contained in:
parent
bfa8bd253c
commit
388ce5b79f
|
@ -30,11 +30,13 @@ jobs:
|
||||||
hash="$(git log -n 1 --format=reference)"
|
hash="$(git log -n 1 --format=reference)"
|
||||||
git branch -D rendered &> /dev/null || true
|
git branch -D rendered &> /dev/null || true
|
||||||
git worktree add --detach --no-checkout dist
|
git worktree add --detach --no-checkout dist
|
||||||
|
cd dist
|
||||||
|
git switch --orphan=rendered
|
||||||
|
cd ..
|
||||||
mv dist/.git book/.git
|
mv dist/.git book/.git
|
||||||
rmdir dist
|
rmdir dist
|
||||||
mv book/ dist/
|
mv book/ dist/
|
||||||
cd dist
|
cd dist
|
||||||
git switch --orphan=rendered
|
|
||||||
git add .
|
git add .
|
||||||
git config user.name "CI"
|
git config user.name "CI"
|
||||||
git config user.email "ci@noreply.libre-chip.org"
|
git config user.email "ci@noreply.libre-chip.org"
|
||||||
|
|
Loading…
Reference in a new issue