Skip to content

Commit cdba44f

Browse files
update to incl gh pages
1 parent 31b0f7a commit cdba44f

File tree

1 file changed

+29
-29
lines changed

1 file changed

+29
-29
lines changed

.github/workflows/ci.yml

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -41,32 +41,32 @@ jobs:
4141
run: |
4242
pytest plurals/tests.py
4343
44-
# build-and-deploy-docs:
45-
# runs-on: ubuntu-latest
46-
# needs: lint-and-test
47-
#
48-
# steps:
49-
# - name: Checkout repository
50-
# uses: actions/checkout@v3
51-
#
52-
# - name: Set up Python
53-
# uses: actions/setup-python@v4
54-
# with:
55-
# python-version: '3.9'
56-
#
57-
# - name: Install dependencies
58-
# run: |
59-
# python -m pip install --upgrade pip
60-
# pip install -r requirements.txt
61-
# pip install sphinx sphinx_rtd_theme
62-
#
63-
# - name: Build Sphinx documentation
64-
# run: |
65-
# cd docs
66-
# make html
67-
#
68-
# - name: Deploy to GitHub Pages
69-
# uses: peaceiris/actions-gh-pages@v3
70-
# with:
71-
# github_token: ${{ secrets.GITHUB_TOKEN }}
72-
# publish_dir: docs/build/html
44+
build-and-deploy-docs:
45+
runs-on: ubuntu-latest
46+
needs: lint-and-test
47+
48+
steps:
49+
- name: Checkout repository
50+
uses: actions/checkout@v3
51+
52+
- name: Set up Python
53+
uses: actions/setup-python@v4
54+
with:
55+
python-version: '3.9'
56+
57+
- name: Install dependencies
58+
run: |
59+
python -m pip install --upgrade pip
60+
pip install -r requirements.txt
61+
pip install sphinx sphinx_rtd_theme
62+
63+
- name: Build Sphinx documentation
64+
run: |
65+
cd docs
66+
make html
67+
68+
- name: Deploy to GitHub Pages
69+
uses: peaceiris/actions-gh-pages@v3
70+
with:
71+
github_token: ${{ secrets.GITHUB_TOKEN }}
72+
publish_dir: docs/build/html

0 commit comments

Comments
 (0)