diff --git a/.gitea/workflows/test_secret.yaml b/.gitea/workflows/test_secret.yaml index a725e64..cb00cd8 100644 --- a/.gitea/workflows/test_secret.yaml +++ b/.gitea/workflows/test_secret.yaml @@ -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 }} \ No newline at end of file diff --git a/workspace/sprint_1_2/CODEBASE/deps/implementation/Dockerfile b/workspace/sprint_1_2/CODEBASE/deps/implementation/Dockerfile index 80ee306..eec353f 100644 --- a/workspace/sprint_1_2/CODEBASE/deps/implementation/Dockerfile +++ b/workspace/sprint_1_2/CODEBASE/deps/implementation/Dockerfile @@ -26,5 +26,3 @@ COPY --from=builder /root/.local /root/.local # Ensure the local bin is in the PATH ENV PATH=/root/.local/bin:$PATH -# WORKDIR /workspace -CMD [ "bash" ] \ No newline at end of file