[project-demos]: add Sliplane deploy flow from README button#388
Merged
[project-demos]: add Sliplane deploy flow from README button#388
Conversation
…nd deployment form
…ut for improved readability
…d enhance DeployView prompts for better user guidance
…eployView navigation logic
…olume retrieval and mount path configuration
…yment on Sliplane
…ssor for user-specific repo URL management
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
SliplaneDeployAppreachable at/sliplane-deploy-appfor one‑click deployments from GitHub README buttons.?repo=from the initial HTTP request and prefill the deploy form, remembering the last repository per user.Changes
Introduced
SliplaneDeployAppthat:Sliplane:ApiTokenor OAuth session token.DeployArgsor from a per‑userDeploymentDraftStore.DeployViewwith prefilled repo and derived service name.Added
DeploymentDraftStore:IHttpContextAccessorand a dedicatedsliplane-deploy-repo-keycookie for anonymous flows.Program.cs.Added
RepoCaptureFilter(IStartupFilter):GET /sliplane-deploy-app?repo=...before Ivy SPA strips query params.DeploymentDraftStorefrom DI and saves decoded repo URL.Implemented
DeployView:[Display(Prompt = ...)].Expandable, and new Volumes section inExpandable:SliplaneRefreshSignal("services").SliplaneServicesApp.Updated chrome configuration in
Program.cs:SliplaneDeployApp.AddHttpContextAccessor, scopedDeploymentDraftStore, and singletonRepoCaptureFilter.Updated
SliplaneServicesApp:id: "sliplane-services-app"for stable navigation target.Added SVG asset
deploy-button.svg:Updated
README.md:Deploy button usage
This PR adds a reusable “Host your Ivy app on Sliplane” button that can be embedded into any GitHub README.
Example:
Code: