Skip to content

Commit

Permalink
Do the same for connect
Browse files Browse the repository at this point in the history
  • Loading branch information
cpsievert committed Aug 9, 2023
1 parent 5db19de commit 732ffcc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/apps-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,9 @@ jobs:
if: matrix.config.type == 'shinyappsio'
shell: Rscript {0}
run: |
# Temporary/experimental workaround for renv throwing esoteric error on deploy
Sys.setenv("RSCONNECT_PACKRAT" = TRUE)
rsconnect::setAccountInfo(
name = '${{ matrix.config.account }}',
token = '${{ secrets.SHINYAPPS_IO_TESTING_APPS_TOKEN }}',
Expand All @@ -101,6 +103,9 @@ jobs:
if: matrix.config.type == 'connect'
shell: Rscript {0}
run: |
# Temporary/experimental workaround for renv throwing esoteric error on deploy
Sys.setenv("RSCONNECT_PACKRAT" = TRUE)
# Add server info
rsconnect::addServer(
url = '${{ matrix.config.server_url }}',
Expand Down

0 comments on commit 732ffcc

Please sign in to comment.