Skip to content

Merge branch 'streams' #21

Merge branch 'streams'

Merge branch 'streams' #21

Workflow file for this run

name: Deploy Documentation
on:
push:
branches: [ main ]
paths: [ 'docs/**' ]
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
cache: 'npm'
cache-dependency-path: 'docs/package-lock.json'
- name: Install dependencies
run: |
cd docs
npm install
- name: Build site
run: |
cd docs
npm run build
- name: Verify build
run: |
ls -la docs/build/
test -f docs/build/index.html || exit 1
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/build
cname: boxmux.com
force_orphan: true
enable_jekyll: false