Skip to content

Commit

Permalink
pkgload and specify app dir
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinSchobben committed Oct 14, 2023
1 parent 6c9aa40 commit fabd55f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 57 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/shiny-deploy.yaml
Expand Up @@ -28,7 +28,7 @@ jobs:
- uses: r-lib/actions/setup-renv@v2

- name: Install rsconnect
run: install.packages("rsconnect")
run: install.packages(c("rsconnect", "pkgload"))
shell: Rscript {0}

- name: Authorize and deploy app
Expand All @@ -39,5 +39,5 @@ jobs:
SERVER: shinyapps.io # server to deploy
run: |
rsconnect::setAccountInfo("${{ secrets.RSCONNECT_USER }}", "${{ secrets.RSCONNECT_TOKEN }}", "${{ secrets.RSCONNECT_SECRET }}")
rsconnect::deployApp(appName = "${{ env.APPNAME }}", account = "${{ env.ACCOUNT }}", server = "${{ env.SERVER }}")
rsconnect::deployApp("inst/appdir/app.R", appName = "${{ env.APPNAME }}", account = "${{ env.ACCOUNT }}", server = "${{ env.SERVER }}")
shell: Rscript {0}
55 changes: 0 additions & 55 deletions .github/workflows/test-coverage.yaml

This file was deleted.

0 comments on commit fabd55f

Please sign in to comment.