From 9b25fc8ed83cbd4e8fb9e97ccba3cad2f92fcc8f Mon Sep 17 00:00:00 2001 From: Automaker Date: Tue, 21 Apr 2026 13:28:20 -0700 Subject: [PATCH] chore(ci): update repo homepage after docs deploy Writes the deployed GitHub Pages URL back to the repo's `homepage` field so it renders in the About sidebar on the repo page. Co-Authored-By: Claude Opus 4.7 (1M context) --- .github/workflows/docs.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index a47454c..c619d94 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -10,6 +10,7 @@ permissions: contents: read pages: write id-token: write + administration: write concurrency: group: pages @@ -39,3 +40,7 @@ jobs: steps: - id: deployment uses: actions/deploy-pages@v4 + - name: Update repo homepage + run: gh api -X PATCH repos/${{ github.repository }} -f homepage="${{ steps.deployment.outputs.page_url }}" + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}