3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-12-28 15:06:37 +00:00

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>
This commit is contained in:
Copilot 2025-12-18 19:39:04 +00:00 committed by GitHub
parent 04d9504cc3
commit 2a3f874883
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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