Skip to content

v0.7.1

v0.7.1 #8

Workflow file for this run

# Simple workflow for deploying static content to GitHub Pages
name: Deploy docs
on:
# Runs on every stable release
release:
types: [published]
# Allow manual workflow executions
workflow_dispatch:
# Allow one concurrent deployment
concurrency:
group: "docs"
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Pages
uses: actions/configure-pages@v2
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
cache: yarn
- name: Install dependencies
run: yarn install --immutable
- name: Build code
run: yarn build:all
- name: Build docs
run: yarn docs
- name: Upload docs folder
uses: actions/upload-pages-artifact@v2
with:
path: "./docs"
deploy:
needs: build
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2