Skip to content

fix: fix SourceSpan and History not being properly exported #17

fix: fix SourceSpan and History not being properly exported

fix: fix SourceSpan and History not being properly exported #17

name: on-tag-publish-docs
on:
push:
tags:
- 'v*'
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: 'pages'
cancel-in-progress: false
jobs:
publish-docs:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup node version
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Installing project dependencies
run: npm install
- name: Building the docs
run: npm start doc
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: './docs'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4