Files
wmj 0c2da241aa
Deploy to Netlify / build-and-deploy (push) Failing after 14m42s
feat: initial commit — Falah Coach Portal v0.1
- React 18 + Vite 5 + TailwindCSS 3 SPA
- Mission Control dashboard
- AI Co-Pilot & Simulator view
- Tactical Audio Briefings library
- MS Loop Wiki integration view
- Global audio player in sidebar
- Netlify deployment config with SPA redirect
- GitHub Actions CI/CD workflow
2026-08-23 12:10:24 +08:00

37 lines
944 B
YAML

name: Deploy to Netlify
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Install Dependencies
run: npm install
- name: Build React App
run: npm run build
- name: Deploy to Netlify
uses: nwtgck/actions-netlify@v2.0
with:
publish-dir: './dist'
production-branch: main
github-token: ${{ secrets.GITHUB_TOKEN }}
deploy-message: "Deploy from GitHub Actions"
enable-pull-request-comment: false
enable-commit-comment: true
overwrites-pull-request-comment: true
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}