Skip to content

Workflow file for this run

name: github pages
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- name: Install Rust (rustup)
run: rustup update stable --no-self-update && rustup default stable
- name: Setup mdBook
uses: imxood/actions-mdbook@master
env:
GITHUB_TOKEN: ${{ secrets.PAGES_GENERATE_TOKEN }}
- run: |
echo $PATH
mdbook build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.PAGES_GENERATE_TOKEN }}
publish_dir: ./book