-
Notifications
You must be signed in to change notification settings - Fork 1
Home
-
Create a file named deploy-docs.yml inside the .github/workflows directory of your project with content similar to what is put here: .github/workflows/deploy-docs.yml
-
The GitHub CI/CD workflow will automatically create a GitHub Page using the source from GitHub Actions in the following path:
Path: Organization Account – Your Repository – Settings – Pages
-
Add a custom domain for your website, such as docs.virakcloud.com in Path: Organization Account – Your Repository – Settings – Pages
-
Create a CNAME record for your custom domain, as identified in the previous section, that points to ORGANIZATION_NAME.github.io:
docs.virakcloud.com CNAME virakcloud-org.github.io
-
Verify your domain in Organization -> Settings -> Pages.
-
Add an A record for comment.docs.virakcloud.com For Remark42 Comment Project pointing to the IP address: 185.212.194.139.
-
Configure the proxy server to pass all incoming traffic for comment.docs.virakcloud.com to the Remark42 comment server.
-
Create the following two secret environment variables:
key : VITE_SITEURL value: https://docs.virakcloud.com
key : VITE_COMMENT_URL value: https://comment.docs.virakcloud.com
-
The content of the CNAME file in the root and docs directories must be changed to docs.virakcloud.com