Scheduled publishing in Basic plan

For the Basic plan with Connect Cloud, can publishing be scheduled through an IDE, i.e., Positron? Is there any documentation on this? I searched the docs site and couldn't find the answer. I'd like to schedule my app to publish after new data is downloaded and processed daily. Thanks for your help!

1 Like

Sounds like a job for GitHub Actions - free if your code is public. Failing that, look into setting up a cron job to run locally.

I assume you mean using rsconnect? That makes sense, but now I'm wondering why I need the Basic plan to do that.

1 Like

I had a similar question about scheduled publishing. In my case, I found that setting up a cron job or using GitHub Actions with the Connect API worked well as a workaround. The Connect API allows triggering content updates programmatically.

If you publish your code from GitHub, it can be configured to automatically update when the new files are pushed to branch. A GitHub action could be used to do this on a schedule.

1 Like

I appreciate the replies. For this case, I'm choosing not to use GitHub because the data is sensitive and the repo for this dashboard is public, though I'd like to try that in the future. I've been trying to publish with rsconnect, and I've gotten as far as authenticating my Connect Cloud account with connectCloudUser() and creating a manifest file. But when I try to deploy, it gets to the "Uploading bundle" stage, then errors out with "Could not upload bundle." The traceback goes rsconnect::deployApp() > cli::cli_abort() > rlang_abort(), so I'm not sure what the problem is.

1 Like