Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trying to automate compiling with travis
- Loading branch information
Showing
3 changed files
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
language: r | ||
pandoc_version: 1.19.2.1 | ||
|
||
sudo: false | ||
|
||
cache: | ||
packages: yes | ||
directories: | ||
|
||
env: | ||
global: | ||
secure: HYODYvtZN5sUBdInIXluT6nY1ouchkpkTC9sLceYmCxzOltziJRoixKmKHrYbO+cl12KclvupEkaiZvTaGe3j6L0YAXDPOiqMSJJvETsFdEx+KlM3o1+DZu5uVagXOx+uCNe+67j5BD74Apj3LpKLJNSL4xIRHPW39Kzzmqd1uGLKpK5xFox7X6pseojyi7MKQGqRvk3F+Gdxuolf+RFYcu3xyYSUor7O1X7fli6RA5YmyuWHSecPG8Ch0k0rTk716ixr/fLqpET1JQHNxdOvCsjkcXMNiQGeoargo+96mQRHPkQjxOEMzaXI4dxC1df8Fc9ak2YhhpPcCYtI9aAbPa1ZJJ82a4FXr8PX0xieTaAIhKrLfrzXmRZAoslu5m2JFGkM9ox859QLWVSroj7lqNpwrJDLIsXqfYMaSv2QNCTJXPccu6GztZ0+6qnIcsbskF/PD9lVmaCGxXS99JIUUD1kVM9p/8R1T7D1UuSHLQZ3lh/vJC7XPFZTbyJtOYu0dwOj7hT5rF50zJv1t11gVZxX+/d6RSX0EpYTwN8C4698ZjKUgf6jifVwyC1K6yZ1KxXYbFtmn1EGvojFYgGY3BpU05hJOBcdIkcyN3sOVYg71xB44MQBmInMLB4flusVvtjMmzIacbel5t/T7QwqdGKrEN6oJ1hs0avOJl5ohI= | ||
|
||
before_script: | ||
- chmod +x ./ghpages_script.sh | ||
|
||
script: | ||
- ./ghpages_script.sh | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Package: placeholder | ||
Type: Book | ||
Title: Does not matter. | ||
Version: 0.0.1 | ||
Imports: bookdown, ggplot2 | ||
Remotes: rstudio/bookdown |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# # configure your name and email if you have not done so | ||
# git config --global user.email "you@example.com" | ||
# git config --global user.name "Your Name" | ||
|
||
# # clone the repository to the book-output directory | ||
# git clone -b gh-pages \ | ||
# https://alegrand@github.com/alegrand/bookrr.git \ | ||
# book-output | ||
make all | ||
cd book-output | ||
git rm -rf * | ||
cp -r ../html/* ./ | ||
cp -r ../booksprintrr.pdf ../booksprintrr.epub ./ | ||
git add --all * | ||
git commit -m"Update the book" | ||
git push -q origin gh-pages |