Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added 'CUSTOM_DOCS' support when using 'CUSTOM_DOMAIN' #250

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

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