Skip to content

submit pr on versioned docs when build fails #20

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

Merged
merged 1 commit into from
Jul 6, 2018

Conversation

jsvd
Copy link
Member

@jsvd jsvd commented Jul 6, 2018

Currently the versioned docs build script will compile the new docs,
test them, and either:

  • abort the build if the test fails
  • submit a PR if the test passes

Now that we have some confidence in the process (the build has been
producing PRs for the past two months), this commit changes the behaviour to:

  • submit a PR if the test fails
  • commit directly if the test passes

This way someone can manual fix the broken documentation directly in the PR
instead of having to reproduce the failure locally.

Currently the versioned docs build script will compile the new docs,
test them, and either:
- abort the build if the test fails
- submit a PR if the test passes

Now that we have some confidence in the process (the build has been
producing PRs for the past two months), this commit changes the behaviour to:
- submit a PR if the test fails
- commit directly if the test passes

This way someone can manual fix the broken documentation directly in the PR
instead of having to reproduce the failure locally.
Copy link

@tsg tsg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, I like this

@jsvd jsvd merged commit cfe2d53 into elastic:master Jul 6, 2018
@jsvd
Copy link
Member Author

jsvd commented Jul 6, 2018

@tsg thanks!

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.

2 participants