Files
Lumina-MSK/.gitea/workflows/test_trigger_modal_triton.yaml
DatTT127 9dce7ff426
Some checks failed
Triton Modal Trigger / deploy-to-modal (push) Failing after 8s
update workflow
2026-07-17 13:22:17 +07:00

30 lines
902 B
YAML

# What is the purpose of this workflows
# for a modal GPU instance that hosting the CV model's on Nvidia Triton
name: Triton Modal Trigger
on: [push]
jobs:
deploy-to-modal:
runs-on: ubuntu-latest
container:
image: gitea-modal-runner:latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
sparse-checkout: |
workspace/sprint_1_2/CODEBASE/infra/implementation/triton_run
- 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
env:
MODAL_TOKEN_ID: ${{ secrets.MODAL_KEY }}
MODAL_TOKEN_SECRET: ${{ secrets.MODAL_SECRET }}