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