diff --git a/.gitea/workflows/test_secret.yaml b/.gitea/workflows/test_secret.yaml index d9d742b..a85c53c 100644 --- a/.gitea/workflows/test_secret.yaml +++ b/.gitea/workflows/test_secret.yaml @@ -13,7 +13,6 @@ jobs: - name: Debug Modal Credentials run: | - run: | echo "DEBUG: Token ID is: '${MODAL_TOKEN_ID}'" echo "DEBUG: Token ID length is: ${#MODAL_TOKEN_ID}" # Use 'cut' to get the first 5 characters safely @@ -26,6 +25,11 @@ jobs: MODAL_TOKEN_SECRET: ${{ secrets.MODAL_SECRET }} - name: Deploy worker pipeline to Modal run: | + echo "DEBUG: Token ID is: '${MODAL_TOKEN_ID}'" + echo "DEBUG: Token ID length is: ${#MODAL_TOKEN_ID}" + # 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'" cd workspace/sprint_1_2/CODEBASE/deps/implementation modal deploy test_worker.py env: