Update hosting-on-render.md

Mention GitLab besides GitHub.
This commit is contained in:
Salim B 2019-12-23 12:47:02 +00:00 committed by Bjørn Erik Pedersen
parent ccf855b220
commit 99d691b5ee

View File

@ -4,7 +4,7 @@ linktitle: Host on Render
description: Host your Hugo site for free with Render's global CDN, fully-managed SSL and auto deploys from GitHub. description: Host your Hugo site for free with Render's global CDN, fully-managed SSL and auto deploys from GitHub.
date: 2019-06-06 date: 2019-06-06
publishdate: 2019-06-06 publishdate: 2019-06-06
lastmod: 2019-06-21 lastmod: 2019-12-23
categories: [hosting and deployment] categories: [hosting and deployment]
keywords: [render,hosting,deployment] keywords: [render,hosting,deployment]
authors: [Anurag Goel] authors: [Anurag Goel]
@ -25,7 +25,7 @@ toc: true
Static sites are **completely free** on Render and include the following: Static sites are **completely free** on Render and include the following:
- Continuous, automatic builds & deploys from GitHub. - Continuous, automatic builds & deploys from [GitHub](https://render.com/docs/github) and [GitLab](https://render.com/docs/gitlab).
- Automatic SSL certificates through [Let's Encrypt](https://letsencrypt.org). - Automatic SSL certificates through [Let's Encrypt](https://letsencrypt.org).
- Instant cache invalidation with a lightning fast, global CDN. - Instant cache invalidation with a lightning fast, global CDN.
- Unlimited collaborators. - Unlimited collaborators.
@ -38,7 +38,7 @@ Static sites are **completely free** on Render and include the following:
## Assumptions ## Assumptions
* You have an account with GitHub. * You have an account with GitHub or GitLab.
* You have completed the [Quick Start][] or have a Hugo website you are ready to deploy and share with the world. * You have completed the [Quick Start][] or have a Hugo website you are ready to deploy and share with the world.
* You have a Render account. You can sign up at https://render.com/register. * You have a Render account. You can sign up at https://render.com/register.
@ -46,7 +46,7 @@ Static sites are **completely free** on Render and include the following:
You can set up a Hugo site on Render in two quick steps: You can set up a Hugo site on Render in two quick steps:
1. Create a new **Web Service** on Render, and give Render permission to access your GitHub repo. 1. Create a new **Web Service** on Render, and give Render permission to access your GitHub/Gitlab repo.
2. Use the following values during creation: 2. Use the following values during creation:
Field | Value Field | Value
@ -59,7 +59,7 @@ That's it! Your site will be live on your Render URL (which looks like `yoursite
## Continuous Deploys ## Continuous Deploys
Now that Render is connected to your repo, it will **automatically build and publish your site** any time you push to GitHub. Now that Render is connected to your repo, it will **automatically build and publish your site** any time you push to your GitHub/Gitlab.
You can choose to disable auto deploys under the **Settings** section for your site and deploy it manually from the Render dashboard. You can choose to disable auto deploys under the **Settings** section for your site and deploy it manually from the Render dashboard.