Skip to content
This repository has been archived by the owner on Aug 3, 2022. It is now read-only.

branch name pattern matching #1

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

branch name pattern matching #1

tcardlab opened this issue Sep 17, 2019 · 2 comments

Comments

@tcardlab
Copy link

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
Copy link
Contributor

Unfortunately netlify doesn't recognize patterns in context names.

@calavera
Copy link
Contributor

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants