@@ -46,20 +46,10 @@ jobs:
4646 # https://github.com/actions/runner/issues/2033#issuecomment-1598547465
4747 options : --user 1001
4848 steps :
49- - name : Set parameters as env
50- run : |
51- KHIOPS_PYTHON_TUTORIAL_REVISION=${{ inputs.khiops-python-tutorial-revision || env.DEFAULT_KHIOPS_PYTHON_TUTORIAL_REVISION }}
52- echo "KHIOPS_PYTHON_TUTORIAL_REVISION=$KHIOPS_PYTHON_TUTORIAL_REVISION" >> "$GITHUB_ENV"
5349 - name : Checkout khiops-python
5450 uses : actions/checkout@v4
5551 with :
5652 fetch-depth : 0
57- - name : Checkout khiops-python-tutorial
58- uses : actions/checkout@v4
59- with :
60- repository : khiopsml/khiops-python-tutorial
61- ref : ${{ env.KHIOPS_PYTHON_TUTORIAL_REVISION }}
62- path : doc/khiops-python-tutorial
6353 - name : Add pip scripts directory to path
6454 run : echo PATH="$PATH:/github/home/.local/bin" >> "$GITHUB_ENV"
6555 - name : Install doc build requirements
@@ -72,10 +62,12 @@ jobs:
7262 # Install the doc python requirements
7363 cd doc
7464 pip3 install -U -r requirements.txt
65+ # Clone the Khiops Python tutorial repository while building the documentation
7566 - name : Build Sphinx Documentation
7667 run : |
7768 cd doc
78- ./create-doc -t
69+ ./create-doc -t -d -g \
70+ ${{ inputs.khiops-python-tutorial-revision || env.DEFAULT_KHIOPS_PYTHON_TUTORIAL_REVISION }}
7971 - name : Upload the docs as an artifact
8072 uses : actions/upload-artifact@v4
8173 with :
0 commit comments