Skip to content

Commit

Permalink
replace common storage prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgamez committed Sep 13, 2023
1 parent 8ae14cd commit 41fa914
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/store_latest_datasets_cronjob.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
# OS constants
ROOT = os.getcwd()
GTFS_SCHEDULE_CATALOG_PATH_FROM_ROOT = "catalogs/sources/gtfs/schedule"
URL_STORAGE_PREFIX = "https://storage.googleapis.com/storage/v1/b/mdb-latest/o"
MATRIX_FILE = "urls_matrix.json"
# File constants
Expand Down Expand Up @@ -70,7 +71,7 @@ jobs:
else:
urls[base] = {
DIRECT_DOWNLOAD: direct_download_url,
LATEST: latest_url,
LATEST: latest_url.replace("URL_STORAGE_PREFIX", ""),
AUTHENTICATION_TYPE: authentication_type,
API_KEY_PARAMETER_NAME: api_key_parameter_name
}
Expand Down

0 comments on commit 41fa914

Please sign in to comment.