update the modal-triton workflows
Some checks failed
Triton Modal Trigger / deploy-to-modal (push) Failing after 7s

This commit is contained in:
DatTT127
2026-07-17 13:27:02 +07:00
parent 9dce7ff426
commit 86b135fdf0

View File

@@ -13,18 +13,15 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
with:
sparse-checkout: |
workspace/sprint_1_2/CODEBASE/infra/implementation/triton_run
sparse-checkout: |
workspace/sprint_1_2/CODEBASE/infra/implementation/triton_run
sparse-checkout-cone-mode: false
- name: Deploy Triton model to Modal
run: |
echo "Triggering Triton deployment..."
echo "current directory:"
pwd
echo "check the surrounding"
ls -la
cd workspace/sprint_1_2/CODEBASE/infra/implementation/triton_run
modal deploy triton_server.py
echo "Deploying Triton..."
cd workspace/sprint_1_2/CODEBASE/infra/implementation/triton_run
modal deploy triton_server.py
env:
MODAL_TOKEN_ID: ${{ secrets.MODAL_KEY }}
MODAL_TOKEN_SECRET: ${{ secrets.MODAL_SECRET }}