Skip to content

fix for pages build

fix for pages build #4

Workflow file for this run

name: Publish Site on GitHub Pages
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.x
- name: npm install and build and deploy
env:
AIRTABLE_TOKEN: ${{ secrets.AIRTABLE_TOKEN }}
AIRTABLE_SCD_BASE_ID: ${{ secrets.AIRTABLE_SCD_BASE_ID }}
run: |
npm install
npm run build-pages
- uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public