Skip to content

Allow specific users setup to deploy PR on their forks. #166

Description

@Carreau

OK, I'm going to try to explain this one. It's hard to explain though, maybe easier to do.

Let's say user send PR-XYZ (branch fix-typo) to canonical/repo
Travis cannot deploy PR-XYZ cause security.
Though if user have travis evable on their fork, then travis could in theory deploy fix-typo built docs to https://user.github.io/repo/fix-typo. Right ? Simple way is to modify travis.yml and doctr config but that's bad for the PR.

Proposal:

  • Travis allow through the API to set configuration variable.
  • use above API to set a number of predefined variable that basically do the same as configuring doctr but take precedence when set.
  • provide a doctr enable-fork to automatically provide building on fork.

It would still have to be opt-in on a per user basis that would have to make that on their fork, but I think that might be useful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions