diff --git a/.github/workflows/ci-cd-renv.yml b/.github/workflows/ci-cd-renv.yml index 746eef4..3579546 100644 --- a/.github/workflows/ci-cd-renv.yml +++ b/.github/workflows/ci-cd-renv.yml @@ -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 }}