Skip to content

feat: update notes

feat: update notes #43

Workflow file for this run

name: pages
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
pages:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- name: checkout
uses: actions/checkout@v3
- name: setup
run: |
cp assets/mdbook /usr/local/bin
cp assets/mdbook-admonish /usr/local/bin
chmod u+x /usr/local/bin/mdbook*
- name: build
run: mdbook build
- name: deploy to vercel
uses: amondnet/vercel-action@v25
with:
vercel-args: --prod
vercel-token: ${{ secrets.VERCEL_TOKEN }}
vercel-org-id: ${{ secrets.VERCEL_ORG_ID}}
vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID}}
working-directory: ./book
- name: deploy to gh-pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./book