Skip to content

Commit 4d8f2f8

Browse files
CI: Tweak doc build.
1 parent 16fc6fb commit 4d8f2f8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/publish_docs_to_pages.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
make html
3131
mv build/html /tmp
3232
cd ..
33-
- name: Push the new documentation to gh-pages
33+
- name: Prepare local gh-pages branch
3434
env:
3535
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3636
run: |
@@ -53,5 +53,9 @@ jobs:
5353
echo "Adding new documentation"
5454
git add -A
5555
git commit -m "Add new documentation"
56+
- name: Push the new documentation to gh-pages
57+
env:
58+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
59+
run: |
5660
echo "Pushing new documentation to origin"
5761
git push -v "https://${GITHUB_TOKEN}:[email protected]/numpy/numpy-financial.git" gh-pages

0 commit comments

Comments
 (0)