Skip to content

Merge pull request #2188 from trilitech/dependabot/npm_and_yarn/tanst… #1764

Merge pull request #2188 from trilitech/dependabot/npm_and_yarn/tanst…

Merge pull request #2188 from trilitech/dependabot/npm_and_yarn/tanst… #1764

name: Deploy to Github Pages
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
env:
NODE_OPTIONS: "--max_old_space_size=4096"
steps:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9.9.0
- uses: actions/setup-node@v4
with:
node-version: 20.x
cache: "pnpm"
- name: Install packages
run: pnpm install
- name: Build
run: pnpm build
- name: Deploy Github Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build