Skip to content

Commit

Permalink
Change deploy - main to production, dev to _latest
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasWallrich committed Sep 27, 2024
1 parent ea77593 commit aa2e742
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/document-and-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
Expand Down

0 comments on commit aa2e742

Please sign in to comment.