From aa2e742fb077aa9e785264f6a0159a78496341bd Mon Sep 17 00:00:00 2001 From: Lukas Wallrich Date: Fri, 27 Sep 2024 14:17:26 +0100 Subject: [PATCH] Change deploy - main to production, dev to _latest --- .github/workflows/document-and-deploy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/document-and-deploy.yaml b/.github/workflows/document-and-deploy.yaml index 9ce9f63c..9acb659a 100644 --- a/.github/workflows/document-and-deploy.yaml +++ b/.github/workflows/document-and-deploy.yaml @@ -65,7 +65,7 @@ jobs: rsconnect::deployApp(appName = 'CiteSource_latest', appDir = './inst/shiny-app/CiteSource', forceUpdate = TRUE)" - name: Deploy release version conditionally - if: github.event_name == 'release' && github.event.release.tag_name != '*test*' + if: github.ref == 'refs/heads/dev' run: | R -e " rsconnect::deployApp(appName = 'CiteSource', appDir = './inst/shiny-app/CiteSource', forceUpdate = TRUE)"