-1

Currently, I have the travis deploy configuration like this:

deploy:
  on:
    tags: true

But I want to add the deploy based on some condition something like this

if branch=='something'
deploy:
  on:
    tags: true

Is it possible to do something like the above?

1 Answers1

0
on:
    tags: true
    condition: "$TRAVIS_TAG =~ ^\d+\.\d+\.\d+$"

Reference here.