Deploy to Netlify / build-and-deploy (push) Failing after 14m42s
- 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
37 lines
944 B
YAML
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 }}
|