Skip to content

Merge pull request #26 from friuns/feature/ai-response-fallback #9

Merge pull request #26 from friuns/feature/ai-response-fallback

Merge pull request #26 from friuns/feature/ai-response-fallback #9

name: Deploy to Netlify
on:
push:
branches:
- '**' # Triggers on push to any branch
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Deploy to Netlify
uses: nwtgck/actions-netlify@v3.0
with:
publish-dir: '.'
production-branch: master
github-token: ${{ secrets.GITHUB_TOKEN }}
deploy-message: "Deploy from GitHub Actions - ${{ github.event.head_commit.message }}"
enable-pull-request-comment: true
enable-commit-comment: true
overwrites-pull-request-comment: true
env:
NETLIFY_AUTH_TOKEN: nfp_7mrwfjfXpwtAA2yRS9Cdj52S5GLWuB8v6393
NETLIFY_SITE_ID: ef61ba0a-53d3-45ed-8965-4fcd861654ba
timeout-minutes: 1