Files
Lumina-MSK/.gitea/workflows/test_trigger_modal_triton.yaml
DatTT127 f011435ab0
All checks were successful
Triton Modal Trigger / deploy-to-modal (push) Successful in 5s
update the modal triton workflow
2026-07-17 13:33:10 +07:00

29 lines
832 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/*
sparse-checkout-cone-mode: false
- name: Deploy Triton model to Modal
run: |
echo "Deploying Triton..."
cd workspace/sprint_1_2/CODEBASE/infra/implementation
pwd
ls -la
env:
MODAL_TOKEN_ID: ${{ secrets.MODAL_KEY }}
MODAL_TOKEN_SECRET: ${{ secrets.MODAL_SECRET }}