update the test
Some checks failed
Test Gitea Secrets / deploy-to-modal (push) Failing after 32s

This commit is contained in:
DatTT127
2026-07-16 23:59:43 +07:00
parent 7b9db01f2a
commit 2635ddfe8f
2 changed files with 3 additions and 5 deletions

View File

@@ -4,9 +4,8 @@ on: [push]
jobs:
deploy-to-modal:
runs-on: ubuntu-latest
# Use a standard python image so you don't have to pre-build anything
container:
image: gitea-modal-runner:latest
image: gitea-modal-runner:latest
steps:
- name: Checkout code
@@ -17,5 +16,6 @@ jobs:
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 }}
MODAL_TOKEN_SECRET: ${{ secrets.MODAL_SECRET }}