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