Skip to content

Commit

Permalink
Update deploy-shiny.yaml
Browse files Browse the repository at this point in the history
Fix the rsconnect version in deployment script to v0.8.29
  • Loading branch information
cjrace authored Nov 10, 2023
1 parent 77bdf66 commit c9f1822
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/deploy-shiny.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,9 @@ jobs:
- name: Install rsconnect
shell: Rscript {0}
run: |
install.packages("rsconnect")
if (!requireNamespace("renv", quietly = TRUE)) install.packages("renv")
renv::install("[email protected]")
# Tokens are stored as secrets in GitHub to make sure only DfE analysts can publish apps in our shiny.io area
# Navigate to Settings > Secrets to add and view secrets. These can also be things like admin login and passwords for SQL databases.
# Get in touch with the Stats Development team if you need to add the below secrets to publish to shinyapps.io
Expand All @@ -90,4 +91,4 @@ jobs:
run: >
Rscript
-e "rsconnect::setAccountInfo(name='department-for-education', token='${{secrets.SHINYAPPS_TOKEN}}', secret='${{secrets.SHINYAPPS_SECRET}}')"
-e "rsconnect::deployApp()"
-e "rsconnect::deployApp()"

0 comments on commit c9f1822

Please sign in to comment.