Skip to content

Commit

Permalink
[WiP] Deploy from any branch in CI-CD-renv workflow, excluding PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardoporreca committed Jan 17, 2024
1 parent ffb17a6 commit cb08989
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci-cd-renv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:

- name: Deploy to shinyapps.io
# Continuous deployment only for pushes to the main / master branch
if: true || (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master')
if: startsWith(github.ref, 'refs/heads/') || (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master')
env:
SHINYAPPS_ACCOUNT: ${{ secrets.SHINYAPPS_ACCOUNT }}
SHINYAPPS_TOKEN: ${{ secrets.SHINYAPPS_TOKEN }}
Expand Down

0 comments on commit cb08989

Please sign in to comment.