Skip to content

Merge pull request #113 from agimus-project/pre-commit-ci-update-config #55

Merge pull request #113 from agimus-project/pre-commit-ci-update-config

Merge pull request #113 from agimus-project/pre-commit-ci-update-config #55

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