Skip to content

Commit

Permalink
docs: fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
trigaten committed Nov 2, 2023
1 parent b95c024 commit 1a04fea
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
- uses: actions/setup-python@v2

- name: Install dependencies
run: pip install -r requirements.txt && git clone https://github.com/trigaten/Prompt_Systematic_Review.git
run: pip install -r docs/requirements.txt && git clone https://github.com/trigaten/Prompt_Systematic_Review.git

- name: Build
run: sphinx-autobuild docs/ _build/html
run: sphinx-build -b dirhtml -v docs/source build

- name: Upload to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
Expand Down
4 changes: 4 additions & 0 deletions docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ help:

.PHONY: help Makefile

github:
@make html
@cp -a build/html/. ./docs

# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
Expand Down

0 comments on commit 1a04fea

Please sign in to comment.