Skip to content

chore: fix README logo path and update package references #39

chore: fix README logo path and update package references

chore: fix README logo path and update package references #39

Workflow file for this run

name: Deploy Site
on:
push:
branches: [master]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Use Node.js 22
uses: actions/setup-node@v4
with:
node-version: 22
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build docs site
run: pnpm --filter @tiny-design/docs build -- --base /tiny-design/
- name: Copy 404.html for SPA routing
run: cp apps/docs/build/index.html apps/docs/build/404.html
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: apps/docs/build
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4