Skip to content

Bump actions/checkout from 3 to 4 (#88) #45

Bump actions/checkout from 3 to 4 (#88)

Bump actions/checkout from 3 to 4 (#88) #45

Workflow file for this run

---
name: Publish Website
on:
push:
branches:
- master
jobs:
publish-website:
name: Publish Website
runs-on: ubuntu-latest
steps:
- name: Checkout Project
uses: actions/checkout@v4
- name: Setup Rust
uses: dtolnay/rust-toolchain@stable
- name: Restore Rust Cache
uses: Swatinem/rust-cache@v2
- name: Install mdbook
run: cargo install --locked mdbook
- name: Build Website
run: mdbook build
- name: Deploy Website
uses: JamesIves/github-pages-deploy-action@v4.4.3
with:
branch: main
folder: book-build
ssh-key: "${{ secrets.WEBSITE_DEPLOY_KEY }}"
repository-name: "${{ secrets.WEBSITE_DEPLOY_REPO }}"