Deploy to Render Button
You can make it easy for others to deploy your services to Render using the Deploy to Render button.
Once you add the Deploy to Render button to a
README in your repo, your users can simply click the button, review the services to be deployed on their Render account and click approve to set everything up instantly and without any additional work.
Follow these steps to add the button for your repo.
Create a render.yaml file describing the services you want to deploy from your repository.
Make sure your repository is accessible to your users.
- Public repos are supported out of the box.
- For private GitHub repos install Render’s GitHub App on your repo.
- For private GitLab repos grant your users clone access to the repo.
Add the Deploy to Render button to your GitHub/GitLab
[![Deploy to Render](https://render.com/images/deploy-to-render-button.svg)](https://render.com/deploy)
If you’re not using Markdown for the
READMEadd an image from https://render.com/images/deploy-to-render-button.svg linking to https://render.com/deploy.
By default Render uses the referrer of the page containing the Deploy to Render button to detect the repository to deploy. You can also explicitly specify a repository as shown below.
If you’re embedding the button anywhere other than a
README in your public Git repo, you can use the
repo query parameter in the button’s target URL.
Set the value of
repo to the full
https:// URL for your Git repo. Here’s an example.
<a href="https://render.com/deploy?repo=https://github.com/render-examples/mattermost"> <img src="https://render.com/images/deploy-to-render-button.svg" alt="Deploy to Render"> </a>
By default the repo’s default branch (normally
master) is deployed. You can deploy a different branch by appending
/tree/branch_name to the end of the
repo query parameter. As an example, the link below will deploy a branch named
<a href="https://render.com/deploy?repo=https://github.com/render-examples/mattermost/tree/bugfix-123"> <img src="https://render.com/images/deploy-to-render-button.svg" alt="Deploy to Render"> </a>