Skip to content

Commit

Permalink
Updated pages Action to install necessary dependences
Browse files Browse the repository at this point in the history
  • Loading branch information
ribesstefano committed Aug 19, 2024
1 parent ba9a407 commit e2fe735
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,20 @@ jobs:
with:
python-version: '3.x'

- name: Add conda to system path
run: |
# $CONDA is an environment variable pointing to the root of the miniconda directory
echo $CONDA/bin >> $GITHUB_PATH
- name: Install dependencies
run: |
conda env update --file environment.yml --name base
pip install sphinx sphinx_rtd_theme
- name: Build the documentation
run: |
sphinx-apidoc -o ./docs/source/ protac_degradation_predictor
sphinx-build ./docs ./docs/_build/html
sphinx-build -E ./docs ./docs/_build/html
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
Expand Down

0 comments on commit e2fe735

Please sign in to comment.