This is an automated email from the ASF dual-hosted git repository. potiuk pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/airflow-site.git
The following commit(s) were added to refs/heads/main by this push: new 5ea8fab0c6 Use correct bucket to metadata file (#1202) 5ea8fab0c6 is described below commit 5ea8fab0c675717604c3b980c21045ef185b346f Author: GPK <gopidesupa...@gmail.com> AuthorDate: Fri May 16 21:42:46 2025 +0100 Use correct bucket to metadata file (#1202) --- .github/scripts/dump-docs-packages-metadata.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/scripts/dump-docs-packages-metadata.py b/.github/scripts/dump-docs-packages-metadata.py index 13f4b71db6..22e79c64aa 100755 --- a/.github/scripts/dump-docs-packages-metadata.py +++ b/.github/scripts/dump-docs-packages-metadata.py @@ -26,8 +26,10 @@ import sys import requests +import os -resp = requests.get("https://live-docs-airflow-apache-org.s3.us-east-2.amazonaws.com/manifest/packages-metadata.json") +bucket = os.environ.get("S3_DOCS_BUCKET") +resp = requests.get(f"https://{bucket}.s3.us-east-2.amazonaws.com/manifest/packages-metadata.json") if resp.status_code != 200: raise RuntimeError(f"Failed to fetch metadata: {resp.status_code} - {resp.text}")