Skip to content

Commit

Permalink
fix build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
yufree committed Jan 28, 2018
1 parent 3da6b89 commit b0d531b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ cache: packages
r_github_packages:
- cran/yaml
- yufree/scifetch
- rstudio/blogdown
before_install:
- git config --global user.email "[email protected]"
- git config --global user.name "yufree"
Expand All @@ -16,8 +17,9 @@ after_success:
- git commit -m "Daily update"
- git push -q https://${GITHUB_PAT}@github.com/${TRAVIS_REPO_SLUG}.git HEAD:master
- curl --include --request POST --data '{"title":"Created via API","body":"daily update","head":"yufree:master","base":"master"}' "https://api.github.com/repos/jpgroup/daily/pulls?access_token=${GITHUB_PAT}"
- Rscript -e 'blogdown::install_hugo();blogdown::build_site()'
- mkdir docs
- cp -r ./public/* ./docs/
- git add --all *
- git commit -m "Update the book" || true
- git push origin master
- git commit -m "Update the demo" || true
- git push -q https://${GITHUB_PAT}@github.com/${TRAVIS_REPO_SLUG}.git HEAD:master
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: placeholder
Title: DailyR
Version: 0.0.1
Imports: yaml
Imports: yaml, blogdown
Remotes: yufree/scifetch

0 comments on commit b0d531b

Please sign in to comment.