Skip to content

fix: name and uses location fix under Install pnpm step with build-si… #8

fix: name and uses location fix under Install pnpm step with build-si…

fix: name and uses location fix under Install pnpm step with build-si… #8

name: Deploy To Github Pages
on:
push:
branches:
- main
permissions:
contents: write
jobs:
deploy:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 9.12.2
run_install: false
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Install and Build
run: |
sh ./scripts/deploy.sh
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: build
clean: true