Skip to content
This repository was archived by the owner on Apr 21, 2026. It is now read-only.

fix output type for netlify #7

fix output type for netlify

fix output type for netlify #7

name: Deploy to Netlify
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: "20" # or '20'
- name: Install dependencies
run: npm install
- name: Build the project
run: npm run build
env:
NEXT_PUBLIC_SUPABASE_URL: ${{ secrets.NEXT_PUBLIC_SUPABASE_URL }}
NEXT_PUBLIC_SUPABASE_ANON_KEY: ${{ secrets.NEXT_PUBLIC_SUPABASE_ANON_KEY }}
IS_NETLIFY: true
- name: Deploy to Netlify
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
run: |
npm install -g netlify-cli
netlify deploy --prod --dir=out --auth=$NETLIFY_AUTH_TOKEN --site=82d6f505-6006-4230-a788-f6751a1f70b3