feat: Adds website
This commit is contained in:
parent
246f077778
commit
4dacd498e3
101 changed files with 47002 additions and 0 deletions
36
.github/workflows/update-docs.yml
vendored
Normal file
36
.github/workflows/update-docs.yml
vendored
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue