debug: check if secrets are being passed
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user