Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

chore: adding test guideline #74

chore: adding test guideline

chore: adding test guideline #74

Workflow file for this run

name: CI
on:
workflow_dispatch:
pull_request:
branches:
- main
paths-ignore:
- 'README.md'
push:
branches:
- main
paths-ignore:
- 'README.md'
jobs:
spell:
name: Spell Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: crate-ci/typos@master
with:
files: .
ci:
name: Deploy mdbook
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Toolchain
run: rustup show
- name: Install mdbook
uses: taiki-e/install-action@v2
with:
tool: mdbook,mdbook-linkcheck,mdbook-toc
- name: Build mdbook
run: mdbook build
- name: Deploy to gh-pages
if: github.ref == 'refs/heads/main'
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./book/html