From 45972daf2956d06a87568442f0eb93e8d3cd8ac6 Mon Sep 17 00:00:00 2001 From: DatTT127 Date: Thu, 16 Jul 2026 22:46:28 +0700 Subject: [PATCH] update test_secret.yaml --- .gitea/workflows/test_secret.yaml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/test_secret.yaml b/.gitea/workflows/test_secret.yaml index 9caf93c..af146af 100644 --- a/.gitea/workflows/test_secret.yaml +++ b/.gitea/workflows/test_secret.yaml @@ -5,9 +5,14 @@ jobs: print-secret: runs-on: ubuntu-latest steps: - - name: test modal worker pipeline + - name: Checkout code uses: actions/checkout@v4 - with: - sparse-checkout: | - cd workspace/sprint_1_2/CODEBASE/deps/implementation - modal deploy test_worker.py \ No newline at end of file + + - name: Test modal worker pipeline + # All shell commands must be in the 'run' block + run: | + cd deps/implementation/ + modal deploy test_worker.py + env: + MODAL_TOKEN_ID: ${{ secrets.MODAL_TOKEN_ID }} + MODAL_TOKEN_SECRET: ${{ secrets.MODAL_TOKEN_SECRET }} \ No newline at end of file