Skip to content

Bump fixed from 1.24.0 to 1.25.0 #182

Bump fixed from 1.24.0 to 1.25.0

Bump fixed from 1.24.0 to 1.25.0 #182

Workflow file for this run

name: docs
permissions:
actions: read
contents: read
pages: write
id-token: write
on:
push:
branches:
- main
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Install rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Build docs
run: cargo doc -p statime --lib --no-deps
- name: Build site
run: utils/mkdocs.sh --no-bind-port build
- name: Copy API docs
run: cp -R target/doc target/docs/site/api
- name: Remove the lockfile
run: rm -rf target/docs/site/api/.lock
- name: Upload artifact
uses: actions/upload-pages-artifact@0252fc4ba7626f0298f0cf00902a25c6afc77fa8
with:
path: target/docs/site
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@87c3283f01cd6fe19a0ab93a23b2f6fcba5a8e42