Skip to content

Commit 6ed34be

Browse files
committed
First attempt at staticdocs auto-deploy
1 parent 3fda191 commit 6ed34be

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.travis.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,26 @@ install:
1313

1414
script: ./travis-tool.sh run_tests
1515

16+
after_success:
17+
- ./travis-tool.sh install_github hadley/staticdocs
18+
- R -e "staticdocs::build_site()"
19+
1620
on_failure:
1721
- ./travis-tool.sh dump_logs
1822

1923
notifications:
2024
email:
2125
on_success: change
2226
on_failure: change
27+
28+
deploy:
29+
edge: true
30+
31+
provider: s3
32+
access_key_id: AKIAJDM6KGIZ6LSGAK4Q
33+
secret_access_key:
34+
secure: "r3vSpvVNcpvIcjWFyk+GhYG55iuhfmy3mwuQHQS2EqjT3Skd3mOojnZuRIqy60XXElK5/nfa3qt7KH0GCSd4Is28cqPwh+1PtQ0ZVXfeKefAk2whTPDI4P+rgOA+srUxZraLALap9QGmvlzJyXbqBCRdDmXUjtXKi2ONE9PrUk4="
35+
bucket: docs.ggplot2.org
36+
skip_cleanup: true
37+
local-dir: inst/web
38+
upload-dir: dev

0 commit comments

Comments
 (0)