diff options
| -rw-r--r-- | .github/workflows/deploy.yml | 1 | ||||
| -rw-r--r-- | src/gtfs_perstop_report/src/download.py | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index d01c349..c8beb83 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -185,3 +185,4 @@ jobs: if: needs.detect-changes.outputs.stops-script == 'true' run: | scp -r dist/gtfs_perstop_report/* ${{ secrets.TARGET_USER }}@${{ secrets.TARGET_HOST }}:/opt/gtfs_vigo_stops/ + ssh ${{ secrets.TARGET_USER }}@${{ secrets.TARGET_HOST }} "/opt/gtfs_vigo_stops/force-update.sh" diff --git a/src/gtfs_perstop_report/src/download.py b/src/gtfs_perstop_report/src/download.py index 4d0c620..c924b6b 100644 --- a/src/gtfs_perstop_report/src/download.py +++ b/src/gtfs_perstop_report/src/download.py @@ -113,7 +113,7 @@ def download_feed_from_url( return None # Create a directory in the system temporary directory - temp_dir = tempfile.mkdtemp(prefix="gtfs_vigo_") + temp_dir = tempfile.mkdtemp(prefix="gtfs_feed_") # Create a temporary zip file in the temporary directory zip_filename = os.path.join(temp_dir, "gtfs_vigo.zip") |
