Skip to content

v0.3.1

v0.3.1 #4

Workflow file for this run

name: Release documentation
on:
push:
tags:
- "v*"
workflow_dispatch:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
- uses: actions/configure-pages@v3
- run: npm ci
- run: npm run docs
- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v1
with:
path: docs/
# Deployment job
deploy:
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@v2