lucasmotta / dploy

⛔️ currently unmaintained ⛔️
http://lucasmotta.github.io/dploy/
MIT License
990 stars 90 forks source link

Use of patterns matching in the branch option #65

Closed xavhan closed 5 years ago

xavhan commented 9 years ago

I'm a user of git-flow, and i wanted to set my dploy config file like that :

dev:
    scheme: ftp
    host: ftp.my-dev-server.com
    port: 21
    user: user
    pass: password
    branch: 
        - master
        - release/*
    path:
        local: dist/
        remote: public_html/

prod:
    scheme: ftp
    host: ftp.my-prod-server.com
    port: 21
    user: user
    pass: password
    branch: master
    path:
        local: dist/
        remote: public_html/

But it seems that it is impossible to use pattern matching in branches name.

Is my syntax bad or did i try to do something that is impossible?

max-mykhailenko commented 9 years ago

+1