From 4906005cb94e0d6f2f8997d0395e62ed25da0b05 Mon Sep 17 00:00:00 2001 From: DatTT127 Date: Fri, 17 Jul 2026 00:22:00 +0700 Subject: [PATCH] update_again --- .gitea/workflows/test_secret.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/test_secret.yaml b/.gitea/workflows/test_secret.yaml index 66b0b78..f817a5e 100644 --- a/.gitea/workflows/test_secret.yaml +++ b/.gitea/workflows/test_secret.yaml @@ -17,9 +17,16 @@ jobs: echo "DEBUG: Token ID length is: ${#MODAL_TOKEN_ID}" echo "DEBUG: First 5 chars are: ${MODAL_TOKEN_ID:0:5}" + env: + # This maps the Gitea Repository Secret to an Environment Variable + MODAL_TOKEN_ID: ${{ secrets.MODAL_KEY }} + MODAL_TOKEN_SECRET: ${{ secrets.MODAL_SECRET }} - 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 - \ No newline at end of file + env: + # This maps the Gitea Repository Secret to an Environment Variable + MODAL_TOKEN_ID: ${{ secrets.MODAL_KEY }} + MODAL_TOKEN_SECRET: ${{ secrets.MODAL_SECRET }} \ No newline at end of file