Skip to content

chore(release): 5.0.0-alpha.1 #7

chore(release): 5.0.0-alpha.1

chore(release): 5.0.0-alpha.1 #7

Workflow file for this run

name: 'Documentation'
on:
push:
tags:
- 'v*'
jobs:
build:
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