Skip to content

chore(release): 5.1.1 #20

chore(release): 5.1.1

chore(release): 5.1.1 #20

Workflow file for this run

name: 'Documentation'
on:
workflow_dispatch:
push:
tags:
- 'v*'
jobs:
build:
if: github.event_name == 'workflow_dispatch' || contains(github.ref, 'v5')
permissions:
contents: read
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Use Node.js LTS
uses: actions/setup-node@v4
with:
node-version: 'lts/*'
cache: 'yarn'
cache-dependency-path: docs/package.json
- name: Install Dependencies
run: |
cd docs
yarn install --frozen-lockfile
- name: build
run: |
cd docs
yarn build
- name: Upload Build Artifact
uses: actions/upload-pages-artifact@v3
with:
path: docs/build
deploy:
permissions:
pages: write
id-token: write
name: Deploy to GH Pages
needs: [build]
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4