Skip to content

Merge pull request #150 from agimus-project/cleaning-book #78

Merge pull request #150 from agimus-project/cleaning-book

Merge pull request #150 from agimus-project/cleaning-book #78

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@v3
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@v4