Refer to the CONSOLE GUIDE.
-
Require to create three (3) repositories:
- (A) Repo for hosting your documentation website (for free!)
- (B) Repo for documentation (markdown files)
- (C) Repo for docs deploy (documentation website builer)
-
Requires to provide PAT (Personal Access Tokens) with
repo
scope granted.
- Create a new repository to use is as (free) hosting for your documentation website.
- Create a new repository to use it as your docs repo (markdown files) source.
💡 You can use chevere/docs-template as base.
When done:
- Go to Secrets under Settings from your new repo
- Click on New repository secret
- Provide the following repository secrets:
Key | Description / example |
---|---|
REPO_DOCS_DEPLOY |
Docs deploy repo as owner/docs-deploy |
REPO_DOCS_DEPLOY_TOKEN |
PAT to access REPO_DOCS_DEPLOY |
- Click the Use this template button to create your docs-deploy repo.
When done:
- Go to Secrets under Settings from your new repo
- Click on New repository secret
- Provide the following repository secrets:
Key | Description / example |
---|---|
REPO_DOCS |
Docs repo as owner/docs-repo |
REPO_DOCS_ACCESS_TOKEN |
PAT to access REPO_DOCS |
REPO_HOSTING |
Hosting repo as owner/host-repo |
REPO_HOSTING_ACCESS_TOKEN |
PAT to access REPO_HOSTING |
CNAME |
Hostname for your website as mydomain.com |
Check the push-deploy.yml workflow used to automatic trigger workflows on the deploy repo from the docs repo.