Skip to content

docs: document trailing and opaque adapter attributes (#2114) #135

docs: document trailing and opaque adapter attributes (#2114)

docs: document trailing and opaque adapter attributes (#2114) #135

Workflow file for this run

# Build and deploy website to GitHub Pages
name: Website
on:
push:
branches: [main]
paths:
- 'docs/**'
- '.github/workflows/website.yml'
- 'facet-showcase/**'
- 'facet-*/examples/*showcase*.rs'
workflow_dispatch:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow only one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
runs-on: depot-ubuntu-24.04-16
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Cache cargo
uses: Swatinem/rust-cache@v2
- name: Install dodeca
run: curl --proto '=https' --tlsv1.2 -LsSf https://github.com/bearcove/dodeca/releases/latest/download/dodeca-installer.sh | sh
- name: Build website with dodeca
run: ~/.cargo/bin/ddc build
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v4
with:
path: docs/public
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4