-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
29 lines (24 loc) · 1.2 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
sudo: required
services:
- docker
script:
# Build pdf with docker.
- docker run --rm -w "/doc" -v $(pwd):/doc thomasweise/texlive:1.0.0 make
# Test if output pdf file exist.
- if [ ! -f output/index.pdf ] ; then exit 1 ; fi
after_success:
# Deploy public/ folder to GitHub pages.
- cp output/index.pdf public/michaelhsu-cv.pdf
deploy:
provider: pages
skip_cleanup: true
github_token: $github_token
local_dir: public
on:
branch: master
notifications:
email:
- evenchange4@gmail.com
env:
global:
secure: Cc7Uhos8p0ApYnwTljsdyXrPfwZo8orV1en78eiSSyPKQ1NqGwUR104KPMuOb77XxbGAuMzolGjGqma5J59c8X/AB59s33DycX3SADZchPf8Rs8t9GarskOhadrO2UEeRMN6BXPs8qeA14YLtnELr01ER5nZE/CucjK9Lu5ymU2US+tm4uX+F0VDE/HzJuIXkBgzfH7nCDjVRgzyKEjWHPL+HUKzVVj84KMYi2O2TdqPkjsv8nW7t3g15An+ynRdOA2UYdyBBk/fx4zpS7e11vn0xwvR3MJB5IbZvM0VjjVCRshXvdELthQcUNTW7Zti6RWJAI8PakS/5TQEAcsIULkHWYjL7kHWpzhAyR9bDk9RaM86npznmVLSAcxl//leecGYMzcHQ4WotNnaTE26ptlIKMcfahNvIrSvvD1O5T6iAqy7A0bjqfaocQu09g5+19IG/dbJeewOvBaes/OMCiwyyfjHCi8DEKZGsY3SMnyv9hqBlsTx+1wHfvdpdovWzhG8N0Ftu/7OmeV/MohqTo5+YoILeOU26tYmnhtO1IRUm3LpxYwjtGSGxX6R6GerBuWWnzZ4WUQZ8muLzcydcNsMZ/sCImE5RKZIiETvL4vm8WmTv+A3GL1ut6cemAO1ZYmK66LGCTFP/jOM+JVEJkjtj5TGgJvadYv9nWanGH0=