From 6c09df1f5dcb922b0963e3177fa68541b8aa92fc Mon Sep 17 00:00:00 2001 From: mrava87 Date: Mon, 26 Oct 2026 22:04:26 +0000 Subject: [PATCH] Always deploy the docs to GitHub Pages The repository is now public, so the visibility check is no longer needed. Co-Authored-By: Claude Sonnet 5.5 --- .github/workflows/docs.yml | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 1a7765f..71e65aa 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -18,14 +18,7 @@ concurrency: jobs: build: runs-on: ubuntu-latest - outputs: - private: ${{ steps.visibility.outputs.private }} steps: - - id: visibility - name: Check repository visibility - env: - GH_TOKEN: ${{ github.token }} - run: echo "private=$(gh api repos/${{ github.repository }} --jq .private)" >> "$GITHUB_OUTPUT" - uses: actions/checkout@v4 with: fetch-depth: 0 @@ -51,14 +44,11 @@ jobs: name: docs-html path: docs/_build/html retention-days: 30 - - if: steps.visibility.outputs.private == 'false' - uses: actions/upload-pages-artifact@v3 + - uses: actions/upload-pages-artifact@v3 with: path: docs/_build/html deploy: - # GitHub Pages is unavailable while the repository is private - if: needs.build.outputs.private == 'false' needs: build runs-on: ubuntu-latest environment: