Skip to content

Merge pull request #375 from damoasda/master #159

Merge pull request #375 from damoasda/master

Merge pull request #375 from damoasda/master #159

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