1313 matrix : ${{ steps.setmatrix.outputs.matrix }}
1414
1515 steps :
16- - uses : actions/checkout@v2
16+ - uses : actions/checkout@v4
1717 - name : Set up Python
18- uses : actions/setup-python@v5.1.1
18+ uses : actions/setup-python@v5
1919 - name : Set Dynamic Matrix
2020 id : setmatrix
2121 run : |
4444 permissions :
4545 contents : write
4646 steps :
47- - uses : actions/checkout@v2
47+ - uses : actions/checkout@v4
4848 - uses : ncipollo/release-action@v1
4949 with :
5050 token : ${{ secrets.GITHUB_TOKEN }}
5555 strategy :
5656 matrix : ${{ fromJson(needs.prepare_matrix.outputs.matrix) }}
5757 steps :
58- - uses : actions/checkout@v4.1.7
58+ - uses : actions/checkout@v4
5959 - name : Set up Python
60- uses : actions/setup-python@v5.1.1
60+ uses : actions/setup-python@v5
6161 with :
6262 python-version : ${{ matrix.python-version }}
6363 - name : Install build
@@ -79,17 +79,21 @@ jobs:
7979 strategy :
8080 matrix : ${{ fromJson(needs.prepare_matrix.outputs.matrix) }}
8181 steps :
82- - uses : actions/checkout@v2
83- - name : Create the new documentation
84- uses : ammaraskar/sphinx-action@master
82+ - uses : actions/checkout@v4
83+ - name : Set up Python
84+ uses : actions/setup-python@v5
8585 with :
86- pre-build-command : " python -m pip install -U pip .[docs]"
87- docs-folder : " docs/"
86+ python-version : ${{ matrix.python-version }}
87+ - name : Create the new documentation
88+ run : |
89+ python -m pip install --upgrade pip .[docs]
90+ cd docs
91+ make html
8892 - name : Gather tutorials
8993 run : |
9094 sudo cp docs/source/_tutorials/* -v docs/build/html/
9195 - name : Deploy
92- uses : peaceiris/actions-gh-pages@v3
96+ uses : peaceiris/actions-gh-pages@v4
9397 with :
9498 github_token : ${{ secrets.GITHUB_TOKEN }}
9599 publish_dir : ./docs/build/html
0 commit comments