Skip to content

docs: add FAQ page with community questions and source links #35

docs: add FAQ page with community questions and source links

docs: add FAQ page with community questions and source links #35

Workflow file for this run

name: Deploy Documentation
on:
push:
branches:
- main
paths:
- "src/**"
- "public/**"
- "astro.config.ts"
- "package.json"
- ".github/workflows/deploy.yml"
workflow_dispatch:
permissions:
contents: read
concurrency:
group: pages
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-24.04
name: Build Documentation
timeout-minutes: 10
permissions:
contents: read
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 1
persist-credentials: false
- name: Setup Bun
uses: oven-sh/setup-bun@3d267786b128fe76c2f16a390aa2448b815359f3 # v2.1.2
with:
bun-version: latest
- name: Install D2
run: curl -fsSL https://d2lang.com/install.sh | sh -s --
- name: Install dependencies
run: bun install --frozen-lockfile
# CNAME file in public/ gets copied to dist/ for custom domain
# Ref: https://docs.github.com/en/pages/configuring-a-custom-domain-for-your-github-pages-site
- name: Build documentation
run: bun run build
- name: Upload artifact
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3.0.1
with:
path: ./dist
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-24.04
name: Deploy to GitHub Pages
timeout-minutes: 10
needs: build
permissions:
pages: write
id-token: write
steps:
- name: Setup Pages
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5