Skip to content

Implement --no-cache global parameter #83

Implement --no-cache global parameter

Implement --no-cache global parameter #83

Workflow file for this run

name: docs
on:
push:
branches: [main]
paths:
- 'website/**'
- 'README.qmd'
- 'NEWS.md'
- '.github/workflows/docs.yml'
# The CLI reference is generated from the built rig binary, so rebuild
# the site when the commands or their help prose change too.
- 'src/**'
- 'xtask/**'
- 'Cargo.toml'
- 'Cargo.lock'
- 'Makefile'
workflow_dispatch:
permissions:
contents: write
concurrency:
group: website
cancel-in-progress: false
jobs:
build-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: quarto-dev/quarto-actions/setup@v2
# `make docs` regenerates the CLI reference from the rig binary
# (`make cli-reference`) before rendering, so we need a built rig.
# A debug build is enough; gen-cli-reference.sh falls back to it.
- name: Build rig
run: cargo build
- name: Render site
run: make docs
- name: Deploy to website branch
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: website
folder: website/_site
clean: true