Skip to content

Commit 0646554

Browse files
committed
docs: update documentation site URL and CNAME configuration
Update the site URL in mkdocs.yml to point to the new domain docs.codemachine.co Add --cname flag to the GitHub workflow to configure the custom domain for documentation deployment
1 parent 33ae11f commit 0646554

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/publish_docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@ jobs:
3434
uv run mike deploy dev --push
3535
elif [[ $GITHUB_REF == refs/tags/* ]]; then
3636
TAG_NAME=${GITHUB_REF#refs/tags/}
37-
uv run mike deploy $TAG_NAME latest --update-aliases --push
37+
uv run mike deploy $TAG_NAME latest --update-aliases --push --cname docs.codemachine.co
3838
uv run mike set-default latest --push
3939
fi

mkdocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
site_name: "CodeMachine CLI Documentation"
2-
site_url: "https://moazbuilds.github.io/CodeMachine-CLI/"
2+
site_url: "https://docs.codemachine.co/"
33
repo_url: "https://github.com/moazbuilds/CodeMachine-CLI"
44
repo_name: "moazbuilds/CodeMachine-CLI"
55

0 commit comments

Comments
 (0)