Skip to content

flex docs

flex docs #2682

Workflow file for this run

name: Deploy docs
on:
push:
paths:
- 'crates/**/*'
- '.github/workflows/deploy_docs.yml'
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Set up cargo cache
uses: Swatinem/rust-cache@v2
with:
prefix-key: "3"
- name: cargo doc
run: cargo doc --no-deps --workspace
- name: Upload to Deno Deploy
uses: denoland/deployctl@v1
with:
project: freya-docs
entrypoint: https://deno.land/std/http/file_server.ts
root: target/doc