Skip to content

πŸ”– v3.0.0-beta.0 #5

πŸ”– v3.0.0-beta.0

πŸ”– v3.0.0-beta.0 #5

Workflow file for this run

name: Build and Deploy
on:
pull_request:
branches: main
push:
branches: main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout πŸ›ŽοΈ
uses: actions/checkout@v3
- name: Node Version Change βž•
uses: actions/setup-node@v3
with:
node-version: 16
- name: Use Pnpm βž•
uses: pnpm/action-setup@v2
with:
version: 6
run_install: false
- name: Install and Build πŸ”§
run: |
pnpm i
pnpm run gh-pages
- name: Deploy πŸš€
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
token: ${{ secrets.PERSONAL_TOKEN }}
folder: dist