Skip to content

Conversation

tylerdotrar
Copy link

Original Issue:

  • When using CUSTOM_DOMAIN with an MkDocs project with a custom docs_dir (e.g., my RGBwiki project), deployment fails because actions.sh was statically set to add the CNAME to the /docs directory; meanwhile the mkdocs.yml file is expecting a different directory.

Fix:

  • Added an environment variable called CUSTOM_DOCS that allows you to to specify the docs_dir to echo the CNAME to.
  • If CUSTOM_DOCS is not used, docs is the assumed path.

(Note: also bulleted and added to the README.md to make it easier on the eyes)

Signed-off-by: OPSEC McCann <[email protected]>
Signed-off-by: OPSEC McCann <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant