Skip to content

Integrating Posit Connect with Version Control#

RStudio is now Posit!

Our professional products have been renamed to Posit Connect, Posit Workbench, Posit Package Manager, Posit Cloud, and Posit Academy so it’s easier for folks to understand that we support more than just R. Please review our Blog post/FAQ to answer commonly asked questions about the rebrand.

Overview#

Posit Connect, formerly RStudio Connect, can be used to deploy projects that are version controlled in Git repositories.

Push-button Deployment#

During push-button publishing, RStudio (the IDE), automatically creates, uploads, and activates a bundle with your application code and a list of dependencies, then your application is published to Connect.

You can publish the following directly from RStudio (the IDE) to Connect:

  • Shiny Apps
  • R Markdown reports
  • Plumber APIs

Additionally, you can publish Jupyter Notebooks to Connect using a notebook extension.

Who is this useful for?

This publishing method is useful for data scientists who want to publish content directly from development into production.

If you are interested in push-button deployments, please review our Publishing documentation.

Additional resources

How-to Guides

We have step-by-step how-to guides that may be a great place to get you started! Please see our How To Guides for Data Scientists.

Deploying from Git#

This functionality is available in RStudio Connect 1.7.6+ and newly released Posit Connect versions.

You can configure individual applications within Connect to deploy from Git repositories and update at regular intervals.

Who is this useful for?

This publishing method is designed to allow data scientists to publish directly from Git repositories to Connect, and have that content get updated at regular intervals without the need for external CI/CD systems like Jenkins or Travis CI.

Additional resources

Please review the following resources about publishing git-backed content to Connect:

User documentation on publishing Git-backed content to Connect.

Admin documentation on details for Git-backed content in Connect.

Programmatic Deployment#

This functionality is available in RStudio Connect 1.7.0+ and newly released Posit Connect versions.

You can configure individual applications outside of Connect with CI/CD systems (e.g., Jenkins, Bamboo) to publish to Connect on an ongoing basis.

Who is this useful for?

This publishing method is useful for administrators who want to configure CI/CD pipelines so that data scientists can work on their applications within version-control systems (e.g., Git) while integrating the deployment process into their existing automation and approval workflows.

Additional resources

The Connect Server API Cookbook explains how to use Connect Server APIs to create content in Connect and deploy code associated with that content.