Skip to content

Commit 256471a

Browse files
committed
Fix 6 to push to a new branch
1 parent 268b31d commit 256471a

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

.github/workflows/sphinx-docs.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,21 +26,13 @@ jobs:
2626
working-directory: docs
2727
run: make html
2828

29-
- name: Copy built docs to temp directory
30-
run: |
31-
mkdir -p /tmp/docs_build
32-
cp -r docs/build/html/* /tmp/docs_build/
33-
3429
- name: Deploy to gen_page branch
3530
run: |
3631
git config user.name "github-actions[bot]"
3732
git config user.email "github-actions[bot]@users.noreply.github.com"
3833
3934
git fetch origin
4035
git switch --orphan gen_page
41-
42-
# Borrar todo excepto docs/build
43-
git ls-files | grep -v '^docs/build' | xargs git rm -f
4436
4537
cp -r docs/build/html/* .
4638
touch .nojekyll

0 commit comments

Comments
 (0)