Files
spotify_vibe/scripts/run_nightly.sh
2026-02-26 19:33:05 +00:00

11 lines
266 B
Bash

#!/bin/sh
set -eu
: "${INTERNAL_JOB_TOKEN:?INTERNAL_JOB_TOKEN is required}"
: "${APP_INTERNAL_URL:=http://app:8000}"
curl --fail --silent --show-error \
-X POST \
-H "Authorization: Bearer ${INTERNAL_JOB_TOKEN}" \
"${APP_INTERNAL_URL}/internal/jobs/nightly"