This commit is contained in:
@@ -4,7 +4,6 @@ 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
|
||||
|
||||
@@ -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 }}
|
||||
@@ -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" ]
|
||||
Reference in New Issue
Block a user