{"action":"created","issue":{"url":"https://api.github.com/repos/rstudio/blogdown/issues/26","repository_url":"https://api.github.com/repos/rstudio/blogdown","labels_url":"https://api.github.com/repos/rstudio/blogdown/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/rstudio/blogdown/issues/26/comments","events_url":"https://api.github.com/repos/rstudio/blogdown/issues/26/events","html_url":"https://github.com/rstudio/blogdown/issues/26","id":198580175,"number":26,"title":"Automatic deployment using Travis CI","user":{"login":"pat-s","id":8430564,"avatar_url":"https://avatars.githubusercontent.com/u/8430564?v=3","gravatar_id":"","url":"https://api.github.com/users/pat-s","html_url":"https://github.com/pat-s","followers_url":"https://api.github.com/users/pat-s/followers","following_url":"https://api.github.com/users/pat-s/following{/other_user}","gists_url":"https://api.github.com/users/pat-s/gists{/gist_id}","starred_url":"https://api.github.com/users/pat-s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pat-s/subscriptions","organizations_url":"https://api.github.com/users/pat-s/orgs","repos_url":"https://api.github.com/users/pat-s/repos","events_url":"https://api.github.com/users/pat-s/events{/privacy}","received_events_url":"https://api.github.com/users/pat-s/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-01-03T21:59:28Z","updated_at":"2017-01-03T23:59:30Z","closed_at":null,"body":"@yihui Referring to your comment: http://disq.us/p/1eyc771\r\n\r\nIs there already a setup for Travis CI to use automatic deployment? Your `travis.yml` does not seem to do deployment right now? \r\nATM I´m using `wercker` as this is suggested by Hugo. While this works using a \"two repo\" solution with Github pages, the deploy script does not support .Rmd files but only .md files. \r\n\r\n`Wercker.yml` \r\n\r\n```yml\r\nbox: golang:latest\r\n\r\nbuild:\r\n  steps:\r\n    - script:\r\n        name: initialize and update git submodules\r\n        code: |\r\n            git submodule init\r\n            git submodule update --remote --recursive\r\n    - arjen/hugo-build:\r\n        version: \"HEAD\"\r\n        theme: academic\r\n\r\ndeploy:\r\n  steps:\r\n    - install-packages:\r\n            packages: git\r\n    - leipert/git-push:\r\n            gh_oauth: $GIT_TOKEN\r\n            repo: pat-s/pat-s.github.io\r\n            branch: master\r\n            basedir: public\r\n```"},"comment":{"url":"https://api.github.com/repos/rstudio/blogdown/issues/comments/270260211","html_url":"https://github.com/rstudio/blogdown/issues/26#issuecomment-270260211","issue_url":"https://api.github.com/repos/rstudio/blogdown/issues/26","id":270260211,"user":{"login":"dfalbel","id":4706822,"avatar_url":"https://avatars.githubusercontent.com/u/4706822?v=3","gravatar_id":"","url":"https://api.github.com/users/dfalbel","html_url":"https://github.com/dfalbel","followers_url":"https://api.github.com/users/dfalbel/followers","following_url":"https://api.github.com/users/dfalbel/following{/other_user}","gists_url":"https://api.github.com/users/dfalbel/gists{/gist_id}","starred_url":"https://api.github.com/users/dfalbel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dfalbel/subscriptions","organizations_url":"https://api.github.com/users/dfalbel/orgs","repos_url":"https://api.github.com/users/dfalbel/repos","events_url":"https://api.github.com/users/dfalbel/events{/privacy}","received_events_url":"https://api.github.com/users/dfalbel/received_events","type":"User","site_admin":false},"created_at":"2017-01-03T23:59:30Z","updated_at":"2017-01-03T23:59:30Z","body":"@jtrecenti have done this here: https://github.com/curso-r/verao2017 \r\n\r\nbasicaly, we changed .travis.yml to this:\r\n\r\nlanguage: r\r\ncache: packages\r\n\r\n```\r\nbefore_script:\r\n  - chmod +x ./_build.sh\r\n  - chmod +x ./_deploy.sh\r\n\r\nscript:\r\n  - ./_build.sh\r\n  - ./_deploy.sh\r\n```\r\n\r\n* Added a DESCRIPTION file, so travis thinks it's an R package\r\n\r\n\r\nSee also _build.sh, _deploy.sh and build.R files.\r\n"}}
{"actor":{"display_login":"dfalbel"}}