Skip to content

Merge pull request #348 from damoasda/master #137

Merge pull request #348 from damoasda/master

Merge pull request #348 from damoasda/master #137

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