Skip to content

Commit 0b0f880

Browse files
committed
gh-pages doc workflow fixes
1 parent 97b90b9 commit 0b0f880

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/publish_docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ jobs:
2828
cd docs
2929
make html
3030
- name: Add .nojekyll file
31-
run: touch .nojekyll
31+
run: touch docs/build/html/.nojekyll
3232
- name: Deploy to GitHub Pages
3333
uses: peaceiris/actions-gh-pages@v4
3434
with:
3535
github_token: ${{ secrets.GITHUB_TOKEN }}
36-
publish_dir: . # directory containing built HTML files
36+
publish_dir: docs/build/html

docs/Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
SPHINXOPTS =
66
SPHINXBUILD = sphinx-build
77
PAPER =
8-
BUILDDIR = ../../sira-doc-build
8+
BUILDDIR = build
99
PDFBUILDDIR = /tmp
1010
PDF = ../manual.pdf
1111

@@ -215,4 +215,3 @@ gh-pages:
215215
git commit -m "Generated gh-pages for `git log master -1 --pretty=short --abbrev-commit`"
216216
git push origin gh-pages
217217
cd $(CURDIR)
218-

0 commit comments

Comments
 (0)