Skip to content

Commit

Permalink
install python for updating switcher file
Browse files Browse the repository at this point in the history
  • Loading branch information
rettigl committed Oct 24, 2024
1 parent bcca109 commit be8f19e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,11 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
path: 'docs-repo'

- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: 3.9

- name: Setup SSH
uses: webfactory/[email protected]
with:
Expand All @@ -117,8 +122,8 @@ jobs:
- name: Update switcher.json
run: |
echo "poetry run python docs-repo/sed/update_switcher.py docs-repo/sed/switcher.json $GITHUB_REF"
poetry run python docs-repo/sed/update_switcher.py docs-repo/sed/switcher.json $GITHUB_REF
echo "python docs-repo/sed/update_switcher.py docs-repo/sed/switcher.json $GITHUB_REF"
python docs-repo/sed/update_switcher.py docs-repo/sed/switcher.json $GITHUB_REF
- name: Copy documentation to the right version folder
run: |
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ The package ensures provenance and FAIR data through metadata tracking, usage of
We introduce different functionalities of the package by several step-by-step use guides:

```{toctree}
:maxdepth: 1
:maxdepth: 2
user_guide/index
Expand Down

0 comments on commit be8f19e

Please sign in to comment.