We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The CUSTOM_DOMAIN environment variable does not work when also using a custom docs_dir in mkdocs.yml.
CUSTOM_DOMAIN
docs_dir
mkdocs.yml
When specifying a custom docs_dir such as
docs_dir: articles/
Build will fail with the following error:
/action.sh: line 24: /github/workspace/docs/CNAME: No such file or directory
The correct folder to target for CNAME file creation should in this instance should be articles/.
articles/
A neat way to solve this would be to lookup the key in mkdocs.yml (using yq maybe?), and the easiest would be to add another environment variable.
The text was updated successfully, but these errors were encountered:
Wanna PR it? :)
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
The
CUSTOM_DOMAIN
environment variable does not work when also using a customdocs_dir
inmkdocs.yml
.When specifying a custom
docs_dir
such asBuild will fail with the following error:
The correct folder to target for CNAME file creation should in this instance should be
articles/
.A neat way to solve this would be to lookup the key in
mkdocs.yml
(using yq maybe?), and the easiest would be to add another environment variable.The text was updated successfully, but these errors were encountered: