Skip to content

Merge pull request #370 from karig/patch-1 #156

Merge pull request #370 from karig/patch-1

Merge pull request #370 from karig/patch-1 #156

Workflow file for this run

name: Rust-Buch bauen und auf GitHub Pages veröffentlichen
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Rust
uses: dtolnay/rust-toolchain@v1
with:
toolchain: stable
- name: Install mdbook
run: cargo install mdbook --vers "^0.4.36" --no-default-features
- name: Build Book
run: mdbook build
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: book