Files
hihala-dashboard/.gitea/workflows/deploy.yml
fahed bf996749e5
All checks were successful
Deploy HiHala Dashboard / deploy (push) Successful in 7s
Discover NocoDB table IDs dynamically instead of hardcoding them
Table IDs are now fetched at runtime via the NocoDB meta API using
VITE_NOCODB_BASE_ID, so the same code works against any NocoDB instance
(local or Cloudron). Also adds a migration script for moving data between
instances with correct FK remapping.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-25 17:50:44 +03:00

28 lines
659 B
YAML

name: Deploy HiHala Dashboard
on:
push:
branches: [main, master]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
- name: Build frontend
env:
VITE_NOCODB_URL: ${{ secrets.VITE_NOCODB_URL }}
VITE_NOCODB_TOKEN: ${{ secrets.VITE_NOCODB_TOKEN }}
VITE_NOCODB_BASE_ID: ${{ secrets.VITE_NOCODB_BASE_ID }}
run: |
npm ci
npm run build
- name: Deploy to server
run: |
rsync -a --delete build/ /opt/apps/hihala-dashboard/build/