Skip to content

Commit acce17b

Browse files
committed
Add publishing of artefacts
1 parent 5f67d3c commit acce17b

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.travis.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,22 @@ before_install:
99
- wget https://raw.githubusercontent.com/progit/progit2-pub/master/Rakefile
1010
- bundle install
1111
script: bundle exec rake book:build
12+
after_success: bundle exec rake book:tag
13+
deploy:
14+
provider: releases
15+
file:
16+
- progit.epub
17+
- progit.mobi
18+
- progit.pdf
19+
skip_cleanup: true
20+
on:
21+
tags: true
22+
api-key: $GITHUB_API_TOKEN
23+
branches:
24+
only:
25+
- master
26+
- /^2\.1(\.\d+)+$/
27+
1228
addons:
1329
apt:
1430
packages:

0 commit comments

Comments
 (0)