Skip to content

Add proper recipe lists and redirect the empty home page to the recip… #24

Add proper recipe lists and redirect the empty home page to the recip…

Add proper recipe lists and redirect the empty home page to the recip… #24

name: Build and deploy
on:
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 20
cache: npm
cache-dependency-path: nextjs-page/package-lock.json
- name: Build
run: |
cd nextjs-page
npm ci
npm run build
touch out/.nojekyll
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: nextjs-page/out