Skip to content

Fix href NavigationMenuLink (#19) #13

Fix href NavigationMenuLink (#19)

Fix href NavigationMenuLink (#19) #13

Workflow file for this run

name: Deploy Next.js to GitHub Pages
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Cache Node Modules
uses: actions/cache@v4
with:
path: |
~/.npm
~/.cache/yarn
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install and Build
run: |
yarn install
yarn build
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.PERSONAL_ACCESS_TOKEN_FOR_GH_PAGES }}
publish_dir: ./out