Skip to content

Add UI deployment workflow (#6) #6

Add UI deployment workflow (#6)

Add UI deployment workflow (#6) #6

Workflow file for this run

name: Deploy
permissions:
contents: write
pages: write
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: pnpm/action-setup@v2
with:
version: 8
- uses: actions/setup-node@v3
with:
node-version: 20
cache: pnpm
- run: pnpm install --frozen-lockfile
- name: Build
run: pnpm --filter ui build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: packages/ui/dist
# cname: sigmafi.app # if wanna deploy to custom domain