Skip to content

feat: Next UI integration #28

feat: Next UI integration

feat: Next UI integration #28

Workflow file for this run

name: Main workflow
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
name: Deploy to Netlify
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Use Node.js 18.18.0
uses: actions/setup-node@v2
with:
node-version: 18.18.0
- name: Cache node modules
uses: actions/cache@v2
with:
path: |
**/node_modules
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
**/package-lock.json
- name: Install dependencies
run: |
npm ci
- name: Build and Deploy to Netlify
run: |
netlify deploy --prod --build
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}