Skip to content

Commit aa2e742

Browse files
committed
Change deploy - main to production, dev to _latest
1 parent ea77593 commit aa2e742

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/document-and-deploy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
rsconnect::deployApp(appName = 'CiteSource_latest', appDir = './inst/shiny-app/CiteSource', forceUpdate = TRUE)"
6666
6767
- name: Deploy release version conditionally
68-
if: github.event_name == 'release' && github.event.release.tag_name != '*test*'
68+
if: github.ref == 'refs/heads/dev'
6969
run: |
7070
R -e "
7171
rsconnect::deployApp(appName = 'CiteSource', appDir = './inst/shiny-app/CiteSource', forceUpdate = TRUE)"

0 commit comments

Comments
 (0)