Publish
Document publication is a one-time event. If the Auto-Deploy feature is enabled when using Render to create a static site, Render will immediately publish the changes as soon as content is pushed into the HTML repository.
The main branch of the HTML repository should be linked to the respective static site.
Following are the steps to create a static site:
-
Sign in into Render using GitHub account.
-
Click New + and select Static Site to create a static website.
-
Connect a GitHub repository that you wish to deploy.
-
Search for <TitleBookHTML> repo.
-
-
Fill in the fields in the following format:
Name = <TitleBookHTML>
Branch = main
Root directory = ./
Build command =
Publish directory = .
-
Click Create Static site.
-
Wait for few seconds for the Render to host your site.
-
You should see the site Live with latest commit message.
-
-
Click the url to do a final review.
The URL will be created only once per document and remains the same. -
Goto, Render Dashboard and select the <TitleBookHTML>.
-
Navigate to Settings → Build & Deploy → Auto-Deploy and edit it to Yes.