add deploy script

This commit is contained in:
Yifan Gao
2017-01-24 00:58:47 +06:00
parent eec4bf326e
commit 768cdf6da2
2 changed files with 13 additions and 0 deletions

View File

@@ -12,3 +12,10 @@ before_script:
- docker pull gaoyifan/bgpdump
script:
- ./generate.sh
deploy:
provider: script
script: ./upload.sh
skip_cleanup: true
on:
branch: master
condition: $TRAVIS_EVENT_TYPE == cron