This commit is contained in:
@@ -11,12 +11,15 @@ jobs:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Debug Modal Credentials
|
||||
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}"
|
||||
|
||||
- name: Deploy worker pipeline to Modal
|
||||
run: |
|
||||
modal token set --token-id "$MODAL_TOKEN_ID" --token-secret "$MODAL_TOKEN_SECRET"
|
||||
cd workspace/sprint_1_2/CODEBASE/deps/implementation
|
||||
modal deploy test_worker.py
|
||||
env:
|
||||
# These are injected by Gitea Actions from the Repository Secrets
|
||||
MODAL_TOKEN_ID: ${{ secrets.MODAL_KEY }}
|
||||
MODAL_TOKEN_SECRET: ${{ secrets.MODAL_SECRET }}
|
||||
|
||||
Reference in New Issue
Block a user