From dacbd681e74fb6ee1cf24d1ae39f5321e4918c44 Mon Sep 17 00:00:00 2001 From: Lisa Julia Nebel Date: Thu, 16 May 2024 06:20:31 +0200 Subject: [PATCH] Trigger on gh-pagesx --- .github/workflows/python_sphinx_docs.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/python_sphinx_docs.yml b/.github/workflows/python_sphinx_docs.yml index 4fc89546392..0b6dd5f9b58 100644 --- a/.github/workflows/python_sphinx_docs.yml +++ b/.github/workflows/python_sphinx_docs.yml @@ -2,12 +2,12 @@ name: Build Python Sphinx Docs and push to gh-pages on: push: - branches: main + branches: gh-pages paths: - 'python/**' - '.github/workflows/python_sphinx_docs.yml' pull_request: - branches: main + branches: gh-pages paths: - 'python/**' - '.github/workflows/python_sphinx_docs.yml' @@ -39,9 +39,9 @@ jobs: cd sphinx_docs # Currently we build only docs for the HEAD of the master branch # Later we can add release tags to the list to get the docs for the releases - # For example: -b "main, release/2024.04/final" will build the docs for - # the main branch and the release/2024.04/final tag - poetry run sphinx-versioned -m master -b master --git-root ../../ + # For example: -b "master, release/2024.04/final" will build the docs for + # the master branch and the release/2024.04/final tag + poetry run sphinx-versioned -m gh-pages -b gh-pages --git-root ../../ - name: Copy documentation to gh-pages run: | cp -r python/sphinx_docs/docs/_build/* python/gh-pages/