Skip to content

Merge pull request #377 from spotlesscoder/patch-2 #160

Merge pull request #377 from spotlesscoder/patch-2

Merge pull request #377 from spotlesscoder/patch-2 #160

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.37" --no-default-features
- name: Build Book
run: mdbook build
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: book