Integrate GitHub
Zeabur offers the capability to integrate with GitHub, allowing you to link your GitHub account with your Zeabur account. This enables you to log in to Zeabur directly using GitHub and deploy code from GitHub to Zeabur seamlessly.
By deploying code using GitHub, you can enable out-of-the-box CI/CD features for your services. In the future, whenever you push code to GitHub, Zeabur will automatically deploy the new code.
Link GitHub Account
If you registered your Zeabur account using an email, you need to link your GitHub account with your Zeabur account first. You can complete the linking in the Dashboard > Settings > Integrations.
Please note that one GitHub account can only be linked to one Zeabur account. After linking, you can use the GitHub button on the Zeabur login page to log in.
Step 1: Create a service
Choose the service you want to deploy, click on Create Service
, and you will see two options: Git
and Marketplace
. In this case, we choose Git
.
Step 2: Bind the Personal Repository
At this point, we will see a search box and a Configure GitHub
button. Click the button, and follow the prompts on the resulting page to authorize access to your Personal Repository.
Step 3: Select the Repository
After authorization, you will see a search box. Enter the name or keyword of the repository you want to deploy, click the search button, and select the repository.
Deploying GitHub Organization Repositories
Step 1: Create a service
Same as Step 1: Create a service in the previous section.
Step 2: Bind the Organization Repository
At this point, we will see a search box and a Configure GitHub
button. Click the button, and follow the prompts on the resulting page to authorize access to your Organization Repository. During the installation process, you can authorize all/part of the repositories according to your needs.
Step 3: Select the Repository
- If you are a
Member
of the organization rather than anOwner
, you may not have enough permissions to bind the organization, but you can still read all repositories to which you have permission and be shown that you have already configured the repository in theGitHub
authorization page. - If you are an
Outside Collaborator
of any of the organization’s repositories, rather than anOwner
orMember
, you may not have enough permissions to bind the organization, but you can still read the repositories to which you have permission and be shown that you have already configured the repository in theGitHub
authorization page.
After authorization, you will see a search box. Enter the name or keyword of the repository you want to deploy, click the search button, and select the repository.
Update
Repository changes
For personal/organization repository changes, we will automatically refresh your code repository as you operate.
Organization member changes
For changes in organization members, we will listen to the GitHub Webhook
event in real-time to ensure that your repository access permissions are consistent with GitHub
.
Uninstall
Personal Repository
Full Uninstall
If you need to completely uninstall Zeabur
, you can find Zeabur
in GitHub
’s Intergrations
- Applications
- Installed Gtihub Apps
, click on Configure
, click on Uninstall "Zeabur"
in the Danger zone
page that pops up.
Revoke Authorization
If you need to revoke authorization to reauthorize Zeabur
later, you can find Zeabur
in GitHub
’s Intergrations
- Applications
- Authorized Gtihub Apps
, click on Revoke
, and agree to the risk in the pop-up page.
Organization Repository
Same as Personal Repository, additionally, you need to select the organization you want to operate on in GitH
’s Settings
- Switch to another account
.