We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 597e1fa commit 6121270Copy full SHA for 6121270
docker/cron/generate_sitemap/generate_and_upload.sh
@@ -2,13 +2,15 @@
2
3
set -e
4
5
+SCRIPT_PATH=$(dirname "$(readlink -f "$0")")
6
+
7
SITEMAP_OUTPUT="sitemap_output/"
8
OUTPUT_BUCKET="${OUTPUT_GCS_BUCKET:=test-osv-dev-sitemap}"
9
BASE_URL_PATH="${BASE_URL:=https://test.osv.dev}"
10
11
echo "Begin sitemap generation for $BASE_URL_PATH"
12
-./generate_sitemap.py --base_url $BASE_URL_PATH
13
+"$SCRIPT_PATH/generate_sitemap.py" --base_url $BASE_URL_PATH
14
15
echo "Begin Syncing with cloud to $OUTPUT_BUCKET"
16
0 commit comments