Skip to content

Commit dd7f2f8

Browse files
authored
Revert "hotfix: tmp remove python docs build (#990)"
This reverts commit 72973eb.
1 parent 6837c32 commit dd7f2f8

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.github/workflows/website.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,17 @@ jobs:
3535
run: yarn && yarn build
3636

3737
# Build Python API document: from https://github.com/apache/dolphinscheduler-sdk-python
38-
# - name: Set up Python
39-
# uses: actions/setup-python@v4
40-
# with:
41-
# python-version: 3.11
42-
# - name: Build Python Multiple Version Document
43-
# working-directory: ${{ env.PYDS_HOME }}
44-
# # rsync all files in directory docs/build/html/versions expect .doctrees have sensitive data, so we need to delete it
45-
# run: |
46-
# python -m pip install --upgrade ${{ env.DEPENDENCES }}
47-
# python -m tox -vv -e doc-build-multi
48-
# rsync -av --progress --exclude .doctrees docs/build/html/versions/* ${GITHUB_WORKSPACE}/build/python
38+
- name: Set up Python
39+
uses: actions/setup-python@v4
40+
with:
41+
python-version: 3.11
42+
- name: Build Python Multiple Version Document
43+
working-directory: ${{ env.PYDS_HOME }}
44+
# rsync all files in directory docs/build/html/versions expect .doctrees have sensitive data, so we need to delete it
45+
run: |
46+
python -m pip install --upgrade ${{ env.DEPENDENCES }}
47+
python -m tox -vv -e doc-build-multi
48+
rsync -av --progress --exclude .doctrees docs/build/html/versions/* ${GITHUB_WORKSPACE}/build/python
4949
5050
- name: Deploy
5151
if: ${{ github.event_name == 'push' || github.event_name == 'schedule' }}

0 commit comments

Comments
 (0)