Skip to content

Commit 268b31d

Browse files
committed
Fix 5 to push to a new branch
1 parent 79940a3 commit 268b31d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/sphinx-docs.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,11 @@ jobs:
3838
3939
git fetch origin
4040
git switch --orphan gen_page
41-
git rm -rf .
41+
42+
# Borrar todo excepto docs/build
43+
git ls-files | grep -v '^docs/build' | xargs git rm -f
4244
43-
cp -r /tmp/docs_build/* .
45+
cp -r docs/build/html/* .
4446
touch .nojekyll
4547
4648
git add .

0 commit comments

Comments
 (0)