Add GitHub Action to deploy Shiny app to shinyapps.io#169
Draft
Copilot wants to merge 2 commits into
Draft
Conversation
Agent-Logs-Url: https://github.com/mcguinlu/robvis/sessions/0fbdb0d4-e22e-4b87-a5d3-d4be48b4dd2b Co-authored-by: mcguinlu <41202585+mcguinlu@users.noreply.github.com>
Agent-Logs-Url: https://github.com/mcguinlu/robvis/sessions/0fbdb0d4-e22e-4b87-a5d3-d4be48b4dd2b Co-authored-by: mcguinlu <41202585+mcguinlu@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
mcguinlu
April 15, 2026 15:20
View session
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
.github/workflows/deploy-shiny.yml— a GitHub Actions workflow that automatically deploys the Shiny app inrobvisapp/to shinyapps.io whenever changes to that folder are pushed to themainormasterbranch.Required Repository Secrets
Before the workflow will work, three secrets must be added to the repository under Settings → Secrets and variables → Actions:
SHINYAPPS_ACCOUNThttps://<account>.shinyapps.io)SHINYAPPS_TOKENSHINYAPPS_SECRETStep-by-step: getting the token and secret
What the workflow does
main/masterthat touch files underrobvisapp/.robvisitself from the local source).rsconnect::setAccountInfo()and the three secrets above.rsconnect::deployApp(appDir = "robvisapp", appName = "robvis").