From 2a3f87488303138502f20a023b855b9376bd5dae Mon Sep 17 00:00:00 2001 From: Copilot <198982749+Copilot@users.noreply.github.com> Date: Thu, 18 Dec 2025 19:39:04 +0000 Subject: [PATCH] Deploy docs to z3prover.github.io organization pages (#8094) * Initial plan * Deploy docs to z3prover.github.io organization pages Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com> --- .github/workflows/docs.yml | 28 ++++++++-------------------- 1 file changed, 8 insertions(+), 20 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 0350f776c..5832cb8f8 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -7,8 +7,6 @@ on: permissions: contents: read - pages: write - id-token: write concurrency: group: "pages" @@ -45,22 +43,12 @@ jobs: working-directory: doc run: python3 mk_api_doc.py --output-dir=api - - name: Setup Pages - uses: actions/configure-pages@v5 - - - name: Upload artifact - uses: actions/upload-pages-artifact@v3 + - name: Deploy to z3prover.github.io + uses: peaceiris/actions-gh-pages@v4 with: - path: 'doc/api/html' - - deploy: - name: Deploy to GitHub Pages - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - runs-on: ubuntu-latest - needs: build-docs - steps: - - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v4 + deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }} + external_repository: Z3Prover/z3prover.github.io + publish_branch: master + publish_dir: ./doc/api/html + user_name: github-actions[bot] + user_email: github-actions[bot]@users.noreply.github.com