From 1ac39836e9dc52388c470d38e793b1cd7c0dbf9e Mon Sep 17 00:00:00 2001 From: Niels Bassler Date: Sat, 28 Mar 2026 16:37:42 +0100 Subject: [PATCH] fix new main branch name for sphinx --- .github/workflows/docs.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 4e148d6..909d843 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -16,7 +16,7 @@ jobs: run: cmake --version - name: Compile with CMake - run: | + run: | cmake -S . -B build # cmake -S -B cmake --build build @@ -55,9 +55,9 @@ jobs: requirements_path: docs/source/requirements.txt - name: Push changes to gh-pages branch # this action is being triggered: - # - on master branch + # - on main branch # - on release tags (named v*) - if: "github.ref == 'refs/heads/master' || (github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v'))" + if: "github.ref == 'refs/heads/main' || (github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v'))" uses: ad-m/github-push-action@v0.6.0 with: github_token: ${{ secrets.GITHUB_TOKEN }}