Skip to content

pre-commit autoupdate #52

pre-commit autoupdate

pre-commit autoupdate #52

Workflow file for this run

name: Build and Deploy book
on:
push:
branches:
- dev
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
container:
image: nim65s/cargo-binstall:mdbook
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build
run: mdbook build
- uses: actions/upload-pages-artifact@v2
with:
path: book/
deploy:
name: publish on github pages
runs-on: ubuntu-latest
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2