Skip to content

chore: add static deploy #1

chore: add static deploy

chore: add static deploy #1

Workflow file for this run

name: Deploy to Github Pages
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-20.04
strategy:
matrix:
node-version: [18.16]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use Node ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm ci
- name: Build playground
run: npm run build:docs
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./apps/docs/out