You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be great if I could have whitelisting and blacklisting for after_success like this:
after_success:
branches:
only:
- master
- test
- dev
- docker login .....
- docker push blah/blah
The use case is for when someone makes a PR with their branch I don't want to do a docker push until AFTER the merge is approved when the second Travis build occurs onto the main branch.
The text was updated successfully, but these errors were encountered:
gravyboat
changed the title
Allow branch specific whitelisting and blacklisting to after_success
Allow branch specific whitelisting and blacklisting for after_success
Nov 8, 2015
You can use $TRAVIS_BRANCH to achieve what you are after. Unlike deployments and notifications, after_success section is compiled into the build script, so that adding this kind of conditional is a bit more involved.
It would be great if I could have whitelisting and blacklisting for
after_success
like this:The use case is for when someone makes a PR with their branch I don't want to do a docker push until AFTER the merge is approved when the second Travis build occurs onto the main branch.
The text was updated successfully, but these errors were encountered: