diff --git a/.travis.yml b/.travis.yml index 79263acc9da9..e94237a82208 100644 --- a/.travis.yml +++ b/.travis.yml @@ -56,6 +56,11 @@ deploy: script: bash hack/gen-swagger-doc/deploy.sh on: branch: master +- provider: script + skip_cleanup: true + script: bash hack/gen-swagger-doc/deploy.sh + on: + tags: true - provider: script skip_cleanup: true script: bash hack/gen-client-python/deploy.sh