Skip to content

feat: adds doc page #312

feat: adds doc page

feat: adds doc page #312

Workflow file for this run

name: Deploy
on:
workflow_dispatch:
push:
branches: main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
# used to centralize the node version across workflows
# refs https://arinco.com.au/blog/github-actions-share-environment-variables-across-workflows
# refs https://github.com/marketplace/actions/set-environment-variables
- name: Set Environment Variables
uses: tw3lveparsecs/[email protected]
with:
envFilePath: ./envvars.for.actions
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
cache: 'npm'
- name: Install
run: npm install --legacy-peer-deps
- name: Build 🔧
env:
NODE_OPTIONS: --openssl-legacy-provider
run: npm run build
- name: Deploy 🚀
if: github.ref == 'refs/heads/main'
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: build