Skip to content

fix changelog and script typos #40

fix changelog and script typos

fix changelog and script typos #40

# For more information see: https://github.com/marketplace/actions/deploy-to-github-pages
name: Build Site and Deploy to Github Pages
on:
push:
branches:
- main
jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession.
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Setup pnpm 📦
uses: pnpm/[email protected]
- name: Install and Build 🔧 # This project is built using pnpm and outputs the result to the 'dist' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built.
run: |
pnpm install
pnpm run docs:build
pnpm run examples:build
cp -r docs examples/dist
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
folder: examples/dist # The folder the action should deploy.