Skip to content

Add time synchronisation via the Current Time Service (CTS) #5

Add time synchronisation via the Current Time Service (CTS)

Add time synchronisation via the Current Time Service (CTS) #5

Workflow file for this run

name: docs
on:
push:
branches: [main]
paths: ["docs/**", ".github/workflows/docs.yml"]
pull_request:
paths: ["docs/**", ".github/workflows/docs.yml"]
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: dtolnay/rust-toolchain@stable
- uses: cargo-bins/cargo-binstall@v1.21.1
- run: cargo binstall mdbook --no-confirm --force --disable-strategies compile
- run: mdbook build docs
- uses: actions/upload-pages-artifact@v5
with:
path: docs/book
deploy:
if: github.ref == 'refs/heads/main'
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- id: deployment
uses: actions/deploy-pages@v5