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
README.md
.[](https://render.com/deploy)
If you’re not using Markdown for the
README
add 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.
Specifying a Repository
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">
</a>