Skip to content

Conversation

@chrisijoyah
Copy link

This PR adds a new GitHub deployment feature allowing users to deploy projects directly to GitHub repositories.

Features:

  • Add GitHub deployment option in the deployment dropdown menu
  • Create GitHubDeploy component to handle the build process
  • Implement GitHubDeploymentDialog for repository selection and creation
  • Support both new and existing GitHub repositories
  • Allow choosing between public and private repositories

Implementation Details:

  • Build projects before deploying to GitHub
  • Properly format file paths for GitHub API compatibility
  • Initialize new repositories with README and .gitignore files
  • Implement robust error handling and user feedback
  • Add detailed logging for debugging

Testing:

  • Manually tested the full deployment workflow
  • Verified successful creation of both new and existing repositories
  • Confirmed proper file structure in deployed repositories

Screenshots:
Screenshot 2025-08-06 at 12 50 34
Screenshot 2025-08-06 at 12 38 21
Screenshot 2025-08-06 at 12 38 45

- Add GitHubDeploy component to handle build and file preparation
- Create GitHubDeploymentDialog for repository selection and creation
- Update DeployButton to include GitHub deployment option
- Support both new and existing GitHub repositories
- Allow choosing between public and private repositories
@chrisijoyah chrisijoyah force-pushed the feature/github-deployment branch from 1543d16 to fdbf9ff Compare August 12, 2025 15:18
@timmillwood
Copy link

This looks awesome.

Would be good to get a review from @xKevIsDev or @leex279.

@Stijnus
Copy link
Collaborator

Stijnus commented Aug 29, 2025

Hi, Good Job! Merging now...

Br,

Stijnue

@Stijnus Stijnus merged commit 194e0d7 into stackblitz-labs:main Aug 29, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants