debug: check if secrets are being passed
Some checks failed
Build and Publish ray-serve-apps / lint (push) Successful in 1m33s
Build and Publish ray-serve-apps / publish (push) Failing after 1m32s

This commit is contained in:
2026-02-02 12:20:39 -05:00
parent e497fe110d
commit 7b4871f554

View File

@@ -65,6 +65,13 @@ jobs:
TWINE_PASSWORD: ${{ secrets.REGISTRY_TOKEN }}
run: |
cd ray-serve
# Debug: check if secrets are set (don't print the token!)
echo "Username set: ${TWINE_USERNAME:+yes}"
echo "Password set: ${TWINE_PASSWORD:+yes}"
if [ -z "$TWINE_USERNAME" ] || [ -z "$TWINE_PASSWORD" ]; then
echo "ERROR: REGISTRY_USER or REGISTRY_TOKEN secrets not set"
exit 1
fi
# Use internal cluster service URL directly - no SSL, no auth proxy
for file in dist/*.whl dist/*.tar.gz; do
if [ -f "$file" ]; then