Skip to content

Commit

Permalink
update to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
zain-sohail committed Oct 5, 2023
1 parent 113339d commit 278c60e
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/document_tutorials.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,17 @@ jobs:
uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: 3.8 # Specify the Python version you need

- name: Install dependencies
run: pip install jupyter nbconvert

- name: Run Conversion Script
run: |
python - <<EOF
uses: jannekem/run-python-script-action@v1
with:
script: |
import pathlib
import shutil
import subprocess
Expand Down Expand Up @@ -99,5 +100,3 @@ jobs:
# Run nbconvert to convert .ipynb files to .rst in the new directory
convert_ipynb_to_rst(new_directory_path)
EOF

0 comments on commit 278c60e

Please sign in to comment.