Skip to content

chore: add github link #6

chore: add github link

chore: add github link #6

Workflow file for this run

name: github pages
on:
push:
branches:
- main
pull_request:
jobs:
deploy:
runs-on: ubuntu-22.04
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup mdBook
uses: peaceiris/actions-mdbook@v2
with:
mdbook-version: '0.4.37'
- name: Build mdBook
run: mdbook build
- uses: actions/configure-pages@v2
- uses: actions/upload-pages-artifact@v1
with:
path: book
- name: Deploy
id: deployment
uses: actions/deploy-pages@v2