Skip to content

Commit

Permalink
Install packages pre-deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasWallrich committed Feb 8, 2024
1 parent 445ecda commit 7918f9b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
- name: Deploy App
run: |
install.packages(c('shiny', 'rsconnect'))
sapply(rsconnect::appDependencies()$Package, \(x) if(!require(x)) install.packages(x))
rsconnect::setAccountInfo(name='lukaswallrich', token='${{secrets.SHINYAPPS_TOKEN}}', secret='${{secrets.SHINYAPPS_SECRET}}')
rsconnect::deployApp(appName = 'fred_explorer', appDir = '.', forceUpdate = TRUE, envManagementR = TRUE)
shell: Rscript {0}
Expand Down

0 comments on commit 7918f9b

Please sign in to comment.