Skip to content

Commit 440a778

Browse files
authored
Update .travis.yml
1 parent 41f14a7 commit 440a778

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ before_install:
3131
# - ./qshell_linux_amd64 account $QiNiuAK $QiNiuSK
3232
install:
3333
- npm install nodeppt@1 -g
34+
- npm install netlify-cli -g
3435
script:
3536
- nodeppt generate ./演讲 ./slides -a
3637
- cd jekyll-blog
@@ -42,6 +43,8 @@ script:
4243
# - cat ./public/css/base.css # just for verify changes
4344
# - ../qshell_linux_amd64 qupload scripts/qiniu.conf.json
4445
after_success:
46+
- |
47+
netlify deploy -s $NETLIFY_SITE_ID -t $NETLIFY_ACCESS_TOKEN -p ./_site
4548
- |
4649
cd _site
4750
touch .nojekyll

0 commit comments

Comments
 (0)