You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
uses: actions/checkout@v2.3.1 # If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly.
13
+
with:
14
+
persist-credentials: false
15
+
16
+
- name: Set up Python ${{ matrix.python-version }}
17
+
uses: actions/setup-python@v2
18
+
with:
19
+
python-version: ${{ matrix.python-version }}
20
+
21
+
- name: Install dependencies
22
+
run: |
23
+
python -m pip install --upgrade pip
24
+
pip install sphinx
25
+
# WARNING: The scripts sphinx-apidoc, sphinx-autogen, sphinx-build and sphinx-quickstart are installed in '/home/runner/.local/bin' which is not on PATH.
26
+
27
+
- name: Build documentation
28
+
run: |
29
+
# use sphinx to build the documentation
30
+
#
31
+
#/home/runner/.local/bin/sphinx-build -b html ./docs/source ./docs/build
32
+
sphinx-build -b html ./docs/source ./docs/build
33
+
34
+
- name: Deploy 🚀
35
+
uses: JamesIves/github-pages-deploy-action@4.1.3
36
+
with:
37
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
38
+
BRANCH: gh-pages # The branch the action should deploy to.
39
+
FOLDER: ./docs/build # The folder the action should deploy.
40
+
CLEAN: true # Automatically remove deleted files from the deploy branch
0 commit comments