ci: deploy Modal service on push to main - #4
Open
devin-ai-integration[bot] wants to merge 1 commit into
Open
Conversation
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Runs 'modal deploy run-service/modal_app.py' when a push to main touches run-service/ (or via workflow_dispatch). Needs MODAL_TOKEN_ID and MODAL_TOKEN_SECRET as repository Actions secrets.
devin-ai-integration
Bot
force-pushed
the
devin/1788993917-modal-deploy-ci
branch
from
September 9, 2026 22:47
15b4d24 to
74cb98f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
.github/workflows/modal-deploy.yml: on any push tomainthat touchesrun-service/(or manually via Actions → Deploy Modal service → Run workflow), it installs themodalCLI, syntax-checksmodal_app.py, and runsmodal deploy modal_app.pyfromrun-service/. Deploys are serialised with aconcurrencygroup so two quick merges can't race.Setup required before the first run: add
MODAL_TOKEN_IDandMODAL_TOKEN_SECRETas repository Actions secrets (Settings → Secrets and variables → Actions). Create a token at https://modal.com/settings/tokens — ideally a dedicated one for CI. ThehuggingfaceModal secret the app needs already exists in the workspace.Merging this PR alone does not trigger a deploy (the workflow path isn't in the trigger list); the first automatic deploy happens on the next
run-service/change tomain. Since #3 is already merged, kick one off manually with Run workflow after adding the secrets to get the MP3-only endpoint live.Link to Devin session: https://app.devin.ai/sessions/d3ad67079eea4dabbaedb4334dbe7c2f
Open in Devin Desktop: https://app.devin.ai/desktop/session/d3ad67079eea4dabbaedb4334dbe7c2f?variant=devin
Requested by: @balebbae