Skip to content

docs(readme): Update README.md #21

docs(readme): Update README.md

docs(readme): Update README.md #21

Workflow file for this run

name: Motoko Regex GitHub Pages
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v2
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Install mdBook
run: cargo install mdbook
- name: Build the book
run: |
cd docs
mdbook build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/book