Skip to content

Commit

Permalink
attmpt to fix tarvis yml
Browse files Browse the repository at this point in the history
  • Loading branch information
snowme34 committed Dec 31, 2019
1 parent cc85498 commit 9b1f8d8
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,13 @@ script:
## markdown lint
# - ./node_modules/.bin/markdownlint docs\source
## build hexo if changed
- [ -z $(git diff --name-status HEAD~1...HEAD blog) ] && hexo --cwd blog generate
- test -z $(git diff --name-status HEAD~1...HEAD blog) && hexo --cwd blog generate
deploy:
provider: pages
edge: true
on:
condition: -z $(git diff --name-status HEAD~1...HEAD blog)
local_dir: blog/public
repo: snowme34/blog.snowme34.com
skip_cleanup: true
github_token: $GITHUB_TOKEN
fqdn: blog.snowme34.com
keep-history: true
fqdn: blog.snowme34.com

0 comments on commit 9b1f8d8

Please sign in to comment.