clean up #2637
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: Install linux dependencies | |
run: | | |
sudo apt update && sudo apt install build-essential libssl-dev pkg-config libglib2.0-dev libgtk-3-dev | |
- 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 |