From 7b4871f554c2fb079b37141f86e1f4b1dced27ba Mon Sep 17 00:00:00 2001 From: "Billy D." Date: Mon, 2 Feb 2026 12:20:39 -0500 Subject: [PATCH] debug: check if secrets are being passed --- .gitea/workflows/publish-ray-serve.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.gitea/workflows/publish-ray-serve.yaml b/.gitea/workflows/publish-ray-serve.yaml index 3cdd519..541e686 100644 --- a/.gitea/workflows/publish-ray-serve.yaml +++ b/.gitea/workflows/publish-ray-serve.yaml @@ -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