aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorAriel Costas Guerrero <ariel@costas.dev>2025-12-08 01:37:10 +0100
committerAriel Costas Guerrero <ariel@costas.dev>2025-12-08 01:37:10 +0100
commit107295575e3a7c37911ae192baf426b0003975a4 (patch)
treeceb528a428716d5313517a0fa72fcac3ea1360fb /.github
parent3b3fd2f6880eaa9170b480d41d43311925483bea (diff)
Refactor code structure for improved readability and maintainability; removed redundant code blocks and optimized functions.
Diffstat (limited to '.github')
-rw-r--r--.github/copilot-instructions.md2
-rw-r--r--.github/workflows/deploy.yml6
2 files changed, 4 insertions, 4 deletions
diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md
index 8b93bf2..328049e 100644
--- a/.github/copilot-instructions.md
+++ b/.github/copilot-instructions.md
@@ -7,7 +7,7 @@ Busurbano is a public transit app for urban buses in Spain (currently Vigo). It
**Three-component system:**
1. **Backend** (`src/Costasdev.Busurbano.Backend`): ASP.NET Core 9 Web API serving transit data
2. **Frontend** (`src/frontend`): React 19 SPA using react-router v7 (SSR disabled), MapLibre GL, Vite
-3. **Python utilities**: GTFS processing (`gtfs_vigo_stops`), delay collection daemon (`delay_collector`), stop data downloaders
+3. **Python utilities**: GTFS processing (`gtfs_perstop_report`), delay collection daemon (`delay_collector`), stop data downloaders
**Data flow:**
- Frontend fetches stop metadata from static JSON (`/stops/vigo.json`) + real-time estimates from backend `/api/vigo/*` endpoints
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index 843bdf6..71cc89f 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -31,7 +31,7 @@ jobs:
- 'src/Costasdev.Busurbano.Backend/**'
- 'src/common/**'
stops-script:
- - 'src/gtfs_vigo_stops/**'
+ - 'src/gtfs_perstop_report/**'
build-frontend:
runs-on: ubuntu-latest
@@ -109,7 +109,7 @@ jobs:
uses: actions/upload-artifact@v5
with:
name: stop_report
- path: src/gtfs_vigo_stops/
+ path: src/gtfs_perstop_report/
deploy:
runs-on: ubuntu-latest
@@ -184,4 +184,4 @@ jobs:
- name: Deploy stop report script
if: needs.detect-changes.outputs.stops-script == 'true'
run: |
- scp -r dist/stop_report/* ${{ secrets.TARGET_USER }}@${{ secrets.TARGET_HOST }}:/opt/gtfs_vigo_stops/
+ scp -r dist/stop_report/* ${{ secrets.TARGET_USER }}@${{ secrets.TARGET_HOST }}:/opt/gtfs_perstop_report/