remove conversation_history ref #3638
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/[email protected] | |
with: | |
node-version: v18.x | |
- name: Checkout | |
uses: actions/[email protected] | |
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/[email protected] | |
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/[email protected] |