adunkman / deployasaur.us

Automatic Deployments with Travis CI
11 stars 2 forks source link

Match build branch against a regex or wildcard to find script #18

Open dustyburwell opened 11 years ago

dustyburwell commented 11 years ago

Instead of needing to provide a script per branch, it would be nice to provide a wildcard or regex match with the script so that any branch tested/deployed would deploy using the provided script.

Ex: branches matching /staging-.*/ would be deployed with one script, potentially targeting a staging environment, while the master branch would be deployed to production.