Skip to content

Bump actions/checkout from 3 to 4 (#411) #104

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

Bump actions/checkout from 3 to 4 (#411) #104

Workflow file for this run

name: Deploy to github pages
on:
push:
branches:
- master
permissions:
contents: write
jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession.
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@1.70.0
- name: Cargo doc
run: |
cargo doc --verbose --all
mv target/doc book/
- name: Deploy to gh-pages branch
uses: JamesIves/github-pages-deploy-action@v4.4.3
with:
token: ${{ secrets.GITHUB_TOKEN }}
folder: book
branch: gh-pages