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.
Publishing from the IDE#
The RStudio IDE allows you to publish various content types, such as Shiny applications, R Markdown documents, plots, graphs, websites, TensorFlow models, Jupyter Notebooks, Plumber APIs, and Quarto documents and projects, etc., to Connect with a "one button" deployment.
Note
To publish content from the RStudio IDE to Connect, you must connect your RStudio IDE to Connect to authorize the IDE to use your Posit Connect account. To connect your account, please see the Connect your Posit Account documentation.
Who is this useful for?
This publishing method is useful for data scientists who want to publish content directly from development into production.
Refer to the Publishing from the RStudio IDE section of the Posit Connect User Guide.
Git-backed Content#
This functionality is available in RStudio Connect 1.7.6+ and newly released Posit Connect versions.
Content may be deployed to Posit Connect directly from a remote Git repository. Content will automatically fetch from the associated remote Git repository and re-deploy. This allows for integration with Git-centric workflows and continuous deployment automation.
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.
Refer to the Git-Backed Content section of the Posit Connect User Guide.
Programmatic Deployment#
This functionality is available in RStudio Connect 1.7.0+ and newly released Posit Connect versions.
It is possible to use the rsconnect
R package to programmatically deploy content to a Connect server. Furthermore, Connect-hosted content can use rsconnect
to deploy additional content to itself or to another Connect server.
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.
Refer to the Programmatic Deployment with rsconnect section of the Posit Connect: Admin Guide.