From 5b24fc76d611fa7686c48da85a8f2d484d377725 Mon Sep 17 00:00:00 2001 From: niksirbi Date: Mon, 30 Oct 2023 09:39:03 +0000 Subject: [PATCH] Use Python v3.11 in build docs action --- .github/workflows/docs_build_and_deploy.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docs_build_and_deploy.yml b/.github/workflows/docs_build_and_deploy.yml index a3a4995f..58f0942b 100644 --- a/.github/workflows/docs_build_and_deploy.yml +++ b/.github/workflows/docs_build_and_deploy.yml @@ -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 @@ -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 @@ -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 }}