Skip to content

Complete React 19 migration and add dual React 18/19 package compatib… #16

Complete React 19 migration and add dual React 18/19 package compatib…

Complete React 19 migration and add dual React 18/19 package compatib… #16

Workflow file for this run

name: Deploy Docs
on:
push:
branches:
- main
jobs:
deploy:
name: Build & Deploy Docs
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Setup LTS Node
uses: actions/setup-node@v6
with:
node-version: 'lts/*'
cache: 'yarn'
- name: Install dependencies
run: yarn install
- name: Build @trrack/core
run: yarn workspace @trrack/core build
- name: Export docs
run: yarn workspace docs export
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./apps/docs/out
publish_branch: gh-pages