@@ -41,32 +41,32 @@ jobs:
41
41
run : |
42
42
pytest plurals/tests.py
43
43
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