Skip to content

docs(site): multi-page site generated from README and wiki #8

docs(site): multi-page site generated from README and wiki

docs(site): multi-page site generated from README and wiki #8

Workflow file for this run

name: Deploy site to GitHub Pages
on:
push:
branches: [main]
paths:
- 'site/**'
- 'install.sh'
- '.github/workflows/deploy-site.yml'
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: true
jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/configure-pages@v5
# Mirror the canonical root install.sh into the published site, so both
# raw.githubusercontent.com/.../install.sh and <pages>/install.sh work,
# and the "install" buffer's one-liner on the site is never stale
# relative to what's actually at the repo root.
- name: Stage root files
run: mkdir -p site && cp install.sh site/
- uses: actions/upload-pages-artifact@v3
with:
path: site
- id: deployment
uses: actions/deploy-pages@v4