Skip to content

chore(deps): update taiki-e/install-action digest to 331a600 #1830

chore(deps): update taiki-e/install-action digest to 331a600

chore(deps): update taiki-e/install-action digest to 331a600 #1830

Workflow file for this run

on:
push:
branches:
- main
pull_request:
branches:
- main
name: Docs
jobs:
docs:
name: Build and deploy documentation
concurrency: ci-${{ github.ref }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4
with:
# The full history is required to make mkdocs' git-revision-date-localized plugin work
fetch-depth: 0
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84 # v2
- name: Install nextest for help text in docs
uses: taiki-e/install-action@nextest
- name: Install rye
uses: eifinger/setup-rye@e62d8930f186833fcc7b04b9f74549c01450a06b # v3.0.2
with:
enable-cache: true
working-directory: site
- name: Build rustdoc
run: ./scripts/build-rustdoc.sh
- name: Build site
run: ./scripts/build-site.sh
- name: Organize
run: |
rm -rf target/gh-pages
mv site/output target/gh-pages
mv target/doc target/gh-pages/rustdoc
- name: Publish
uses: cloudflare/pages-action@1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: nextest
directory: target/gh-pages
gitHubToken: ${{ secrets.GITHUB_TOKEN }}