Skip to content

Update pages.yml

Update pages.yml #4

Workflow file for this run

name: Pages
on:
push:
branches:
- main
jobs:
publish-npm:
name: Publish GH Pages
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/[email protected]
with:
fetch-depth: 2
- name: Build Static Content
uses: actions/[email protected]
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- run: npm install -g pnpm
- run: pnpm install
- run: pnpm run build
- name: Publish GH Pages
uses: peaceiris/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist-web