Skip to content

https test

https test #10

Workflow file for this run

name: Frontend CI/CD
on:
push:
branches: [ main ]
paths:
- 'frontend/**'
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 18
- name: Install dependencies
run: npm install
working-directory: frontend
- name: Build app
run: npm run build
working-directory: frontend
- name: Trigger Render deployment
run: curl -X POST "$RENDER_DEPLOY_HOOK"
env:
RENDER_DEPLOY_HOOK: ${{ secrets.RENDER_DEPLOY_HOOK }}