Browse code

updating GHA to deploy when pushing to the devel branch

Federico Marini authored on 27/03/2024 12:25:48
Showing 1 changed files

... ...
@@ -143,7 +143,7 @@ jobs:
143 143
         shell: Rscript {0}
144 144
 
145 145
       - name: Deploy
146
-        if: github.event_name == 'push' && github.ref == 'refs/heads/master' && matrix.config.os == 'macOS-latest'
146
+        if: github.event_name == 'push' && github.ref == 'refs/heads/devel' && matrix.config.os == 'macOS-latest'
147 147
         run: |
148 148
           R CMD INSTALL .
149 149
           Rscript -e "remotes::install_dev('pkgdown'); pkgdown::deploy_to_branch(new_process = FALSE)"