diff --git a/.gitea/workflows/test_secret.yaml b/.gitea/workflows/test_secret.yaml index f817a5e..8409aac 100644 --- a/.gitea/workflows/test_secret.yaml +++ b/.gitea/workflows/test_secret.yaml @@ -13,9 +13,12 @@ jobs: - name: Debug Modal Credentials run: | + run: | echo "DEBUG: Token ID is: '${MODAL_TOKEN_ID}'" echo "DEBUG: Token ID length is: ${#MODAL_TOKEN_ID}" - echo "DEBUG: First 5 chars are: ${MODAL_TOKEN_ID:0:5}" + # Use 'cut' to get the first 5 characters safely + FIRST_5=$(echo "$MODAL_TOKEN_ID" | cut -c1-5) + echo "DEBUG: First 5 chars are: '$FIRST_5'" env: # This maps the Gitea Repository Secret to an Environment Variable