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

ci: doc: don't fail publish job if there's nothing to publish #79852

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kartben
Copy link
Collaborator

@kartben kartben commented Oct 15, 2024

If doc build has not generated any artifact, gracefully skip publication instead of failing, as this can be pretty confusing...

tested as working in my fork https://github.com/kartben/zephyr/actions/runs/11348482946/job/31562362519

@kartben kartben force-pushed the dont_fail_publish_when_no_artifacts_available branch 2 times, most recently from e03d50f to 821afa5 Compare October 15, 2024 10:27
@kartben kartben changed the title ci: doc: don't fail publish job if there's rightfully no doc to publish ci: doc: don't fail publish job if there's nothing to publish Oct 15, 2024
@kartben kartben force-pushed the dont_fail_publish_when_no_artifacts_available branch 8 times, most recently from b2e3296 to ad99dfd Compare October 15, 2024 13:56
If doc build has not generated any artifact, gracefully skip
publication.

Signed-off-by: Benjamin Cabé <[email protected]>
@kartben kartben force-pushed the dont_fail_publish_when_no_artifacts_available branch from ad99dfd to 00a6ea6 Compare October 15, 2024 14:46
@kartben kartben marked this pull request as ready for review October 15, 2024 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants