Skip to content

build(deps): bump serde from 1.0.210 to 1.0.214 #9

build(deps): bump serde from 1.0.210 to 1.0.214

build(deps): bump serde from 1.0.210 to 1.0.214 #9

Workflow file for this run

name: Docs
on:
push:
branches:
- main
paths:
- ".github/workflows/docs.yml"
- "docs/**"
pull_request:
release:
types: [published]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}"
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup mdBook
uses: peaceiris/actions-mdbook@v2
with:
mdbook-version: latest
- name: Build
run: mdbook build docs
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: docs/book
deploy:
if: ${{ github.event_name != 'pull_request' }}
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy
id: deployment
uses: actions/deploy-pages@v4