Skip to content

Commit

Permalink
Updated docs workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ribesstefano committed Aug 19, 2024
1 parent cd841eb commit f2cec8c
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ jobs:
deploy:
runs-on: ubuntu-latest

permissions:
contents: write

steps:
- name: Checkout the repository
uses: actions/checkout@v2
Expand All @@ -24,12 +27,13 @@ jobs:
- name: Build the documentation
run: |
cd docs
sphinx-apidoc -o source/ ../protac_degradation_predictor
make html
sphinx-apidoc -o docs/source/ protac_degradation_predictor
sphinx-build docs docs/_build/html
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
publish_branch: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/_build/html
force_orphan: true

0 comments on commit f2cec8c

Please sign in to comment.