GitHub App Installation
Installing a GitHub App is required to deploy code directly from GitHub to Connect Cloud.
Install GitHub App
Before publishing for the first time, you will be asked to install our GitHub App.
- Click Install. This will redirect you to GitHub.
- Select where you want to install the Posit Connect Cloud GitHub App.
- Select All repositories to grant Connect Cloud access to all of your code or Only select repositories to select specific repositories.
- Click Install and confirm access.
This redirects you back to Connect Cloud with the ability to deploy content from your authorized GitHub repositories.
Note: If you choose to allow access to only selected repositories, you’ll need to update your selections whenever you add new repositories that you want to deploy to Connect Cloud.
Add Another GitHub App
You can install the Connect Cloud GitHub App on multiple GitHub accounts, for example your personal account and a GitHub organization. You can then link each one to the same Connect Cloud account.
- Go to the Admin > Integrations tab.
- Click Add GitHub App. This button appears after your account has its first installation.
- Follow the installation steps above, and select the GitHub account or organization to install on.
When you search for a repository to publish, type the owner first, such as my-org/, to search that GitHub account’s repositories. Without an owner, the search uses the first GitHub account you linked.
Manage GitHub App
Update Repository Access
- Visit https://github.com/settings/installations
- Click Configure for the Posit Connect Cloud installed app
- Scroll down to Repository access
- Make desired changes
- Click Save
Revoke Access
- Visit https://github.com/settings/installations
- Click Configure for the Posit Connect Cloud installed app
- Scroll down to Danger zone
- Click Suspend or Uninstall
- Confirm the change
Please note that if you revoke access to Connect Cloud you will not be able to deploy any new content until you install the GitHub App again.
Automatically Publish on Push
Installing the GitHub App allows your content to automatically republish whenever new commits are pushed to the connected branch. This ensures that your viewers always see the most up-to-date version without needing a manual re-deployment action on the platform. Learn more.
Limitations
- A GitHub App installation can be linked to only one Connect Cloud account.
- If no linked installation matches the owner, Connect Cloud falls back to the first installation you linked. Publishing from a public repository still works, but publishing from a private repository fails because that installation can’t access it.
- Each publish uses one installation. Content cannot install a private package from a repository owned by a different GitHub account or organization.