Skip to content

Commit d029587

Browse files
release ebooks to github
Signed-off-by: Arnav Gupta <[email protected]>
1 parent 0ad3b91 commit d029587

File tree

1 file changed

+16
-7
lines changed

1 file changed

+16
-7
lines changed

.travis.yml

+16-7
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,19 @@ script:
3030
- mv -v ./book.epub _book/
3131
- mv -v ./book.mobi _book/
3232
deploy:
33-
provider: pages
34-
skip-cleanup: true
35-
github-token: $GITHUB_TOKEN # Set in the settings page of your repository, as a secure variable
36-
keep-history: true
37-
local-dir: _book
38-
on:
39-
branch: master
33+
- provider: pages
34+
skip-cleanup: true
35+
github-token: $GITHUB_TOKEN # Set in the settings page of your repository, as a secure variable
36+
keep-history: true
37+
local-dir: _book
38+
on:
39+
branch: master
40+
- provider: releases
41+
skip-cleanup: true
42+
api_key: $GITHUB_TOKEN
43+
file:
44+
- _book/book.pdf
45+
- _book/book.epub
46+
- _book/book.mobi
47+
on:
48+
tags: true

0 commit comments

Comments
 (0)