Programmatic Deployment to RStudio Connect Using Jenkins + GitHub
Link to Jenkins + GitHub Webhooks Blog
What are we trying to build? - I have a data product (in this case a shiny application) deployed to my RStudio Connect server. I also have a GitHub repository for the application where I’ve version controlled the app code. I want to link and automate the application update process with my GitHub workflow, i.e. every time I push a code change to GitHub, I’d like the deployed application on Connect to automatically be updated with those changes.
Content Management API Resources:
- More generally: Programmatic Deployment with Content Management APIs
- API Reference: https://docs.rstudio.com/connect/api/
- User Guide: https://docs.rstudio.com/connect/user/cookbook.html#recipes(Deploying Content)
- Example deployment scripts: https://github.com/rstudio/connect-api-deploy-shiny