diff --git a/.github/workflows/check-bioc.yml b/.github/workflows/check-bioc.yml index 517e4b5..5a01e0d 100644 --- a/.github/workflows/check-bioc.yml +++ b/.github/workflows/check-bioc.yml @@ -210,13 +210,13 @@ jobs: shell: Rscript {0} - name: Install covr - if: (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main') && env.run_covr == 'true' && runner.os == 'Linux' + if: (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/devel') && env.run_covr == 'true' && runner.os == 'Linux' run: | remotes::install_cran("covr") shell: Rscript {0} - name: Install pkgdown - if: (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main') && env.run_pkgdown == 'true' && runner.os == 'Linux' + if: (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/devel') && env.run_pkgdown == 'true' && runner.os == 'Linux' run: | remotes::install_github("r-lib/pkgdown") shell: Rscript {0} @@ -266,17 +266,17 @@ jobs: shell: Rscript {0} - name: Test coverage - if: (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main') && env.run_covr == 'true' && runner.os == 'Linux' + if: (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/devel') && env.run_covr == 'true' && runner.os == 'Linux' run: | covr::codecov() shell: Rscript {0} - name: Install package - if: (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main') && env.run_pkgdown == 'true' && runner.os == 'Linux' + if: (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/devel') && env.run_pkgdown == 'true' && runner.os == 'Linux' run: R CMD INSTALL . - name: Build and deploy pkgdown site - if: (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main') && env.run_pkgdown == 'true' && runner.os == 'Linux' + if: (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/devel') && env.run_pkgdown == 'true' && runner.os == 'Linux' run: | PKG=`head DESCRIPTION -n 1 | sed 's,.* ,,'` echo $PKG diff --git a/.github/workflows/pkgdown.yml b/.github/workflows/pkgdown.yml index 91b0d75..3be0f67 100644 --- a/.github/workflows/pkgdown.yml +++ b/.github/workflows/pkgdown.yml @@ -1,8 +1,8 @@ on: push: - branches: [main, master] + branches: [main, master, devel ] pull_request: - branches: [main, master] + branches: [main, master, devel ] release: types: [published] workflow_dispatch: