Skip to content

Commit

Permalink
[WiP] Deploy from any branch (excluding PRs), as rTRhexNG-test
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardoporreca committed Jan 24, 2024
1 parent 458549b commit 99d46a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- uses: r-lib/actions/check-r-package@v2

- name: Deploy to shinyapps.io
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master'
if: startsWith(github.ref, 'refs/heads/') || startgithub.ref == 'refs/heads/main' || github.ref == 'refs/heads/master'
env:
SHINYAPPS_ACCOUNT: ${{ secrets.SHINYAPPS_ACCOUNT }}
SHINYAPPS_TOKEN: ${{ secrets.SHINYAPPS_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion deploy/deploy-shinyapps.R
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ if (!interactive()) {
# Add here any additional files/directories the app needs
app_files = c("app.R", "DESCRIPTION", "NAMESPACE", "R/", "inst/")
rsconnect::deployApp(
appName = "rTRhexNG", appFiles = app_files, forceUpdate = TRUE
appName = "rTRhexNG-test", appFiles = app_files, forceUpdate = TRUE
)

0 comments on commit 99d46a6

Please sign in to comment.