Skip to content

build: correct build & deploy pipeline #18

build: correct build & deploy pipeline

build: correct build & deploy pipeline #18

name: Build and Deploy
on:
push:
branches: [main]
jobs:
build-and-deploy:
runs-on: ubuntu-20.04
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
with:
persist-credentials: false
- name: Setup pnpm ⚙️
uses: pnpm/action-setup@v4
with:
version: 9
- name: Install dependencies 🔧
run: pnpm install
- name: Build 📦
run: pnpm build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@releases/v4
with:
folder: dist