feat: Adds website

This commit is contained in:
Kamron Batman 2026-03-29 19:44:03 -07:00
parent 246f077778
commit 4dacd498e3
No known key found for this signature in database
GPG key ID: 7D81DF26D9A5D94A
101 changed files with 47002 additions and 0 deletions

36
.github/workflows/update-docs.yml vendored Normal file
View file

@ -0,0 +1,36 @@
name: Deploy Docs
on:
push:
branches: [website]
paths:
- 'website/**'
- '.github/workflows/update-docs.yml'
workflow_dispatch:
jobs:
deploy-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Build packets documentation
shell: pwsh
run: ./website/tools/build-packets.ps1 -OutputPath ./website/static/packets.html
- name: Install dependencies
working-directory: website
run: npm ci
- name: Build site
working-directory: website
run: npm run build
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: ./website/build
branch: gh-pages
clean: true
clean-exclude: |
.nojekyll