Skip to content

fix migration

fix migration #3658

Workflow file for this run

name: Publish docs to github pages
on:
push:
branches: ["main"]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/setup-node@v4.1.0
with:
node-version: v18.x
- name: Checkout
uses: actions/checkout@v4.2.2
with:
fetch-depth: 1
- name: Setup Pages
uses: actions/configure-pages@v5
- name: install honkit
run: npm install -g honkit gitbook-plugin-github-issue-feedback gitbook-plugin-page-toc-button gitbook-plugin-summary
- name: build doc
run: honkit build
# run it twice for including autogenerated summary
- name: build doc
run: honkit build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3.0.1
with:
path: ./_book
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-22.04
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4.0.5