
Follow-up to: https://github.com/zed-industries/zed/pull/30844 Transient link failure was blocking PR tests passing. [Example run](https://github.com/zed-industries/zed/actions/runs/15560960788/job/43812878693?pr=32458). Release Notes: - N/A
26 lines
722 B
YAML
26 lines
722 B
YAML
name: "Build docs"
|
|
description: "Build the docs"
|
|
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- name: Setup mdBook
|
|
uses: peaceiris/actions-mdbook@ee69d230fe19748b7abf22df32acaa93833fad08 # v2
|
|
with:
|
|
mdbook-version: "0.4.37"
|
|
|
|
- name: Cache dependencies
|
|
uses: swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2
|
|
with:
|
|
save-if: ${{ github.ref == 'refs/heads/main' }}
|
|
cache-provider: "buildjet"
|
|
|
|
- name: Install Linux dependencies
|
|
shell: bash -euxo pipefail {0}
|
|
run: ./script/linux
|
|
|
|
- name: Build book
|
|
shell: bash -euxo pipefail {0}
|
|
run: |
|
|
mkdir -p target/deploy
|
|
mdbook build ./docs --dest-dir=../target/deploy/docs/
|