Skip to content

Commit 0b8b0df

Browse files
authored
Merge pull request #217 from MoseleyBioinformaticsLab/docs
Merge pull request #216 from MoseleyBioinformaticsLab/docs
2 parents ab673a4 + 58ee639 commit 0b8b0df

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/build_documentation.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,18 @@ jobs:
1111
runs-on: ubuntu-latest
1212

1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v3
1515
- name: Set up Python 3.11
1616
uses: actions/setup-python@v4
1717
with:
1818
python-version: '3.11'
19-
# Standard drop-in approach that should work for most people.
20-
- uses: ammaraskar/sphinx-action@master
21-
with:
22-
docs-folder: "docs/"
23-
pre-build-command: "apt-get update -y && apt-get install -y python3"
19+
- name: Upgrade pip, install package, install requirements, build docs
20+
run: |
21+
pip install --upgrade pip
22+
pip install -r ./docs/requirements.txt
23+
sphinx-build docs ./docs/_build/html/
2424
# Create an artifact of the html output.
25-
- uses: actions/upload-artifact@v1
25+
- uses: actions/upload-artifact@v3
2626
with:
2727
name: DocumentationHTML
2828
path: docs/_build/html/

0 commit comments

Comments
 (0)