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

branch name pattern matching #1

Closed
tcardlab opened this issue Sep 17, 2019 · 2 comments

Comments

@tcardlab
Copy link

@tcardlab tcardlab commented Sep 17, 2019

Deployable Naming Convention
Under a particular use-case, hundreds of collaborator branches may be generated at any given time. Only a subset of these may require deployment. Is it possible to use or implement pattern matching in a c.get()?

Then in .toml I can use:

[context.'deploy/*']
    command = "build command" 

Then, ideally:
whatever-*-is.myDomain.com

I don't know whether it would make more sense within "Override with branch context environment" or above it (might be redundant?).

@calavera

This comment has been minimized.

Copy link
Member

@calavera calavera commented Sep 17, 2019

Unfortunately netlify doesn't recognize patterns in context names.

@calavera

This comment has been minimized.

Copy link
Member

@calavera calavera commented Sep 17, 2019

I'm closing this since the issue is really with the platform, not this library. Feel free to go to https://community.netlify.com. We can track feature requests like this one there.

@calavera calavera closed this Sep 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.