update_again
Some checks failed
Test Gitea Secrets / deploy-to-modal (push) Failing after 15s

This commit is contained in:
DatTT127
2026-07-17 00:22:00 +07:00
parent ee1ae91a7a
commit 4906005cb9

View File

@@ -17,9 +17,16 @@ jobs:
echo "DEBUG: Token ID length is: ${#MODAL_TOKEN_ID}" echo "DEBUG: Token ID length is: ${#MODAL_TOKEN_ID}"
echo "DEBUG: First 5 chars are: ${MODAL_TOKEN_ID:0:5}" echo "DEBUG: First 5 chars are: ${MODAL_TOKEN_ID:0:5}"
env:
# This maps the Gitea Repository Secret to an Environment Variable
MODAL_TOKEN_ID: ${{ secrets.MODAL_KEY }}
MODAL_TOKEN_SECRET: ${{ secrets.MODAL_SECRET }}
- name: Deploy worker pipeline to Modal - name: Deploy worker pipeline to Modal
run: | run: |
modal token set --token-id "$MODAL_TOKEN_ID" --token-secret "$MODAL_TOKEN_SECRET" modal token set --token-id "$MODAL_TOKEN_ID" --token-secret "$MODAL_TOKEN_SECRET"
cd workspace/sprint_1_2/CODEBASE/deps/implementation cd workspace/sprint_1_2/CODEBASE/deps/implementation
modal deploy test_worker.py modal deploy test_worker.py
env:
# This maps the Gitea Repository Secret to an Environment Variable
MODAL_TOKEN_ID: ${{ secrets.MODAL_KEY }}
MODAL_TOKEN_SECRET: ${{ secrets.MODAL_SECRET }}