Skip to content

Commit

Permalink
Merge pull request #967 from ThinkR-open/issue-923-yogat3ch-for-cherr…
Browse files Browse the repository at this point in the history
…y-pick
  • Loading branch information
ColinFay authored Dec 23, 2022
2 parents 525e97d + 22f3467 commit 4a0b428
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions inst/shinyexample/dev/03_deploy.R
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,22 @@ golem::add_dockerfile_with_renv()
## If you want to deploy to ShinyProxy
golem::add_dockerfile_with_renv_shinyproxy()


# Deploy to Posit Connect or ShinyApps.io
# In command line.
rsconnect::deployApp(
appName = desc::desc_get_field("Package"),
appTitle = desc::desc_get_field("Package"),
appFiles = c(
# Add any additional files unique to your app here.
"R/",
"inst/",
"data/",
"NAMESPACE",
"DESCRIPTION",
"app.R"
),
appId = rsconnect::deployments(".")$appID,
lint = FALSE,
forceUpdate = TRUE
)

0 comments on commit 4a0b428

Please sign in to comment.