Skip to content

Commit

Permalink
[WiP] Deploy from any branch with as ShinyCICD-test
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardoporreca committed Jan 10, 2024
1 parent 1e1b919 commit dd01a5d
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 @@ -56,7 +56,7 @@ jobs:

- name: Deploy to shinyapps.io
# Continuous deployment only for pushes to the main / master branch
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master'
if: true || (github.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 @@ -5,4 +5,4 @@ rsconnect::setAccountInfo(
Sys.getenv("SHINYAPPS_TOKEN"),
Sys.getenv("SHINYAPPS_SECRET")
)
rsconnect::deployApp(appName = "ShinyCICD")
rsconnect::deployApp(appName = "ShinyCICD-test")

0 comments on commit dd01a5d

Please sign in to comment.