Skip to content

Initial commit (v1.0.0) #1

Initial commit (v1.0.0)

Initial commit (v1.0.0) #1

Workflow file for this run

name: 'Deploy Website'
on:
push:
branches: [master]
paths: ['website/**', 'PRIVACY.md', 'TERMS.md', 'LICENSE', '.github/workflows/deploy-docs.yml']
release:
types: [published]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Install dependencies
working-directory: website
run: npm ci
- name: Build (fetches latest release data, then builds)
working-directory: website
run: npm run build
- name: Configure Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: website/dist
deploy:
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