From 0214016ba756c45cc6988fc638a67888ced2f108 Mon Sep 17 00:00:00 2001 From: Joe Marlo <50213913+joemarlo@users.noreply.github.com> Date: Fri, 8 Dec 2023 12:07:36 -0600 Subject: [PATCH] Update deploy-shinyapps.yml --- .github/workflows/deploy-shinyapps.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy-shinyapps.yml b/.github/workflows/deploy-shinyapps.yml index f1cbdca..3ba3a96 100644 --- a/.github/workflows/deploy-shinyapps.yml +++ b/.github/workflows/deploy-shinyapps.yml @@ -5,6 +5,9 @@ on: push: branches: [main, master] +env: + RENV_CONFIG_SANDBOX_ENABLED: False + jobs: deploy-shinyapps: timeout-minutes: 45 @@ -15,13 +18,13 @@ jobs: with: r-version: '4.2.0' - uses: priism-center/thinkCausal_dev/.github/setup-renv@master - - name: Install extra dependencies - shell: Rscript {0} - run: install.packages(c("remotes", "rsconnect")) - working-directory: thinkCausal +# - name: Install extra dependencies +# shell: Rscript {0} +# run: install.packages(c("remotes", "rsconnect")) +# working-directory: thinkCausal - name: Deploy to shinyapps.io shell: Rscript {0} run: | rsconnect::setAccountInfo(name = "${{secrets.SA_ACCOUNT_NAME}}", token = "${{secrets.SA_TOKEN}}", secret = "${{secrets.SA_SECRET}}") - rsconnect::deployApp(appName = 'thinkCausal', account = "${{secrets.SA_ACCOUNT_NAME}}") + rsconnect::deployApp(appName = 'thinkCausal', account = "${{secrets.SA_ACCOUNT_NAME}}", forceUpdate = TRUE) working-directory: thinkCausal