Skip to content

Merge pull request #246 from rust-cli/renovate/peaceiris-actions-gh-p… #269

Merge pull request #246 from rust-cli/renovate/peaceiris-actions-gh-p…

Merge pull request #246 from rust-cli/renovate/peaceiris-actions-gh-p… #269

Workflow file for this run

name: book
on:
pull_request:
push:
branches:
- master
jobs:
book:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v4
- name: Setup
uses: peaceiris/actions-mdbook@v1
with:
mdbook-version: '0.4.14'
- name: Build
run: mdbook build
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
if: ${{ github.ref == 'refs/heads/master' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./book