Skip to content

even better better

even better better #17

Workflow file for this run

name: Deploy to GH Pages
on:
push:
branches:
- main
jobs:
build-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@master
with:
persist-credentials: false
submodules: recursive # Ensure submodules are checked out
- name: Install pnpm
run: npm install -g pnpm
- name: Install dependencies 🧶
run: pnpm install
- name: Build the project
run: pnpm run build-only
env:
NODE_ENV: production
- name: Deploy to GH Pages 🚀
if: ${{ github.event_name != 'pull_request' }}
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: dist