-
Notifications
You must be signed in to change notification settings - Fork 138
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
CI: Add untracked generated documentation files when publishing #492
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How does this PR perform if there are no changes to commit?
I think the only way this will happen is when we manually run the workflow, because our doxygen invocation looks like I ran the following commands to verify this:
I believe the
I'll make this change tomorrow. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Build 348 of commit 1825c1f has completed with FAILURE
If generating the documentation creates files that do not already exist on the `gh-pages` branch, the current GitHub Action to generate documentation will not add them. Instead, it will only update existing files. This may happen when a new component is added, or when the Doxygen version differs from prior runs. This bit us on our first run of the documentation-generation GitHub Action, because the version that GitHub Actions uses is different than the version that built our original documentation. This patch explicitly adds all files generated under the `docs/docs/apidocs/cpp_apidocs` directory, including both untracked files and tracked, modified files. Signed-off-by: Patrick M. Niedzielski <patrick@pniedzielski.net>
1825c1f
to
ee74e56
Compare
If generating the documentation creates files that do not already exist on the
gh-pages
branch, the current GitHub Action to generate documentation will not add them. Instead, it will only update existing files. This may happen when a new component is added, or when the Doxygen version differs from prior runs. This bit us on our first run of the documentation-generation GitHub Action, because the version that GitHub Actions uses is different than the version that built our original documentation.This patch explicitly adds all files generated under the
docs/docs/apidocs/cpp_apidocs
directory, including both untracked files and tracked, modified files.