Skip to content

Merge pull request #271 from yuiseki/dependabot/npm_and_yarn/vite-5.4.6 #324

Merge pull request #271 from yuiseki/dependabot/npm_and_yarn/vite-5.4.6

Merge pull request #271 from yuiseki/dependabot/npm_and_yarn/vite-5.4.6 #324

name: Publish GitHub Pages
on:
push:
branches:
- main
jobs:
publish_gh_pages:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
with:
fetch-depth: 1
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 18.x
- name: Build page
run: |
npm ci
npm run build
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist