Can I automatically deploy to shiny apps every time I push to github?

Hi,

I am trying to build a small shiny app with it source code on bitbucket and github. Both services offer hooks that allow you to trigger builds and deploys elsewhere. Is there a way that the same thing can be achieved on shinyapps.io?

Thanks.

1 Like

I think you can use functions from rsconnect :package: to deploy to shinyapps.io.

Admin docs explains it : http://docs.rstudio.com/shinyapps.io/getting-started.html#deploying-applications

using a Continuons Integration tool or service (Travis, Jenkins, GitlabCI, ...), you can automate the deployement. The tooling depends on your technical preference and environment. Travis is widely use in the open source community. At work, I have Jenkins.

There are some example of that for RStudio Connect product from where you could get inspiration
http://docs.rstudio.com/connect/admin/appendix-ci.html

I should precise that I have never done it myself on shinyapps.io but I think it is feasible. Maybe someone will have an example...

1 Like