Skip to content

Update tests.yml

Update tests.yml #401

Workflow file for this run

name: build book/docs
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup mdBook
uses: peaceiris/actions-mdbook@v1
with:
mdbook-version: 'latest'
- run: cd docs && mdbook build
- name: Copy CNAME
run: cp CNAME docs/output
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/output
publish_branch: gh-pages