Skip to content

Commit

Permalink
Use Python v3.11 in build docs action
Browse files Browse the repository at this point in the history
  • Loading branch information
niksirbi committed Oct 30, 2023
1 parent 7a32c8f commit 5b24fc7
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/docs_build_and_deploy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build Sphinx docs and deploy to GitHub Pages
name: Docs

# Generate the documentation on all merges to main, all pull requests, or by
# manual workflow dispatch. The build job can be used as a CI check that the
Expand All @@ -19,7 +19,9 @@ jobs:
name: Build Sphinx Docs
runs-on: ubuntu-latest
steps:
- uses: neuroinformatics-unit/actions/build_sphinx_docs@v2
- uses: neuroinformatics-unit/actions/build_sphinx_docs@main
with:
python-version: 3.11

deploy_sphinx_docs:
name: Deploy Sphinx Docs
Expand All @@ -29,6 +31,6 @@ jobs:
if: github.event_name == 'push' && github.ref_type == 'tag'
runs-on: ubuntu-latest
steps:
- uses: neuroinformatics-unit/actions/deploy_sphinx_docs@v2
- uses: neuroinformatics-unit/actions/deploy_sphinx_docs@main
with:
secret_input: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 5b24fc7

Please sign in to comment.