Skip to content

Release documentation #8

Release documentation

Release documentation #8

Workflow file for this run

name: Release documentation
on:
push:
tags:
- "*"
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 'lts/*'
- uses: actions/configure-pages@v5
- run: npm ci
- run: npm run build:all
- run: npm run docs
- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: docs/
deploy:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
pages: write
id-token: write
environment:
name: docs
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4