Skip to content

Manually generate documentation #17

Manually generate documentation

Manually generate documentation #17

name: Manually generate documentation
on:
workflow_dispatch
permissions:
contents: read
pages: write
id-token: write
packages: read
concurrency:
group: "update-standard-library-documentation"
cancel-in-progress: true
jobs:
generate-documentation:
name: Generate documentation for release
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
container:
image: ghcr.io/ponylang/ponyc-ci-stdlib-builder:release
steps:
- name: Checkout
uses: actions/[email protected]
- name: Build
run: "bash .ci-scripts/build-stdlib-documentation.bash"
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: 'stdlib-docs/site/'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4