We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e2d224 commit bae59cfCopy full SHA for bae59cf
.github/workflows/sphinx-docs.yml
@@ -32,11 +32,20 @@ jobs:
32
run: |
33
git config user.name "github-actions[bot]"
34
git config user.email "github-actions[bot]@users.noreply.github.com"
35
+
36
+ # Create a new directory for the public_html
37
+ mv docs/build/html public_html
38
39
+ # Create a new branch for deployment
40
git fetch origin
41
git switch --orphan gen_page
42
git rm -rf .
- cp -r docs/build/html/* .
43
44
+ # Copy the built documentation to the root directory
45
+ mv public_html/* .
46
+ rm -rf public_html
47
touch .nojekyll
48
49
git add .
50
git commit -m "Deploy documentation to gen_page"
51
git push -f origin gen_page
0 commit comments