From 73cc2d9782c97e42f2b84a897dd6c4ef985b5308 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonah=20Br=C3=BCchert?= Date: Tue, 20 Feb 2024 20:55:43 +0100 Subject: [PATCH] ci: Generate attribution --- .github/workflows/data-pipeline.yml | 4 +++- motis-proxy/Rocket.toml | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/data-pipeline.yml b/.github/workflows/data-pipeline.yml index 0f84fe9c..133132f7 100644 --- a/.github/workflows/data-pipeline.yml +++ b/.github/workflows/data-pipeline.yml @@ -33,7 +33,9 @@ jobs: feeds - name: Fetch GTFS-Feeds - run: docker run -v $PWD:/transitous -w /transitous transitous ci/fetch-feeds.py timer + run: | + docker run -v $PWD:/transitous -w /transitous transitous ci/fetch-feeds.py timer + docker run -v $PWD:/transitous -w /transitous transitous src/generate-attribution.py - name: Import Feeds into motis run: | diff --git a/motis-proxy/Rocket.toml b/motis-proxy/Rocket.toml index 638c7b1c..bcc0a912 100644 --- a/motis-proxy/Rocket.toml +++ b/motis-proxy/Rocket.toml @@ -7,9 +7,9 @@ log_level = "debug" [release.proxy] proxy_assets = false -allowed_endpoints = [ "/intermodal","/guesser", "/address", +allowed_endpoints = [ "/intermodal", "/guesser", "/address", "/railviz/get_trains", "/railviz/get_trips", "/railviz/get_station", - "/lookup/schedule_info", "/gbfs/info", "/ppr/route", "/trip_to_connection" ] + "/lookup/schedule_info", "/gbfs/info", "/ppr/route", "/trip_to_connection" ] [debug.proxy]