Skip to content

Remove the per-page Copy Markdown and Open buttons #5

Remove the per-page Copy Markdown and Open buttons

Remove the per-page Copy Markdown and Open buttons #5

Workflow file for this run

name: CI
on:
pull_request:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check out sqlc docs
uses: actions/checkout@v4
with:
repository: sqlc-dev/sqlc
path: .cache/sqlc
sparse-checkout: docs
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- run: npm ci
- name: Ingest
run: node scripts/ingest.mjs --src .cache/sqlc/docs
- name: Build
run: npm run build
- name: Type check
run: npm run types:check
# Downloadable preview of the built site. Serve it locally with e.g.
# `python3 -m http.server` and open /en/latest/.
- uses: actions/upload-artifact@v4
with:
name: site-preview
path: |
out/
out-root/
retention-days: 7