Skip to content

Update nextjs.yml

Update nextjs.yml #22

Workflow file for this run

name: GitHub Pages deploy
on:
workflow_dispatch:
push:
branches: [main]
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 8
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install packages and build
run: |
cd website
pnpm install
pnpm run build
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: website/out