Files
Lumina-MSK/.gitea/workflows/test_secret.yaml
DatTT127 7913119351
Some checks failed
Test Gitea Secrets / deploy-to-modal (push) Failing after 16s
update the test_secret.yaml
2026-07-17 00:02:14 +07:00

22 lines
674 B
YAML

name: Test Gitea Secrets
on: [push]
jobs:
deploy-to-modal:
runs-on: ubuntu-latest
container:
image: gitea-modal-runner:latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- 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 }}