Skip to content

ci: trusted publishing (#113) #25

ci: trusted publishing (#113)

ci: trusted publishing (#113) #25

Workflow file for this run

name: Documentation
on:
push:
tags:
- '*'
workflow_dispatch:
jobs:
build_and_deploy_docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Install docs dependencies
working-directory: website
run: npm ci
- name: Create the docs directory locally in CI
working-directory: website
run: npm run build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: website/build