Skip to content

Commit af70a35

Browse files
devel branch to work for GHAs
1 parent 18fe36f commit af70a35

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/check-bioc.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -204,13 +204,13 @@ jobs:
204204
shell: Rscript {0}
205205

206206
- name: Install covr
207-
if: github.ref == 'refs/heads/master' && env.run_covr == 'true' && runner.os == 'Linux'
207+
if: github.ref == 'refs/heads/devel' && env.run_covr == 'true' && runner.os == 'Linux'
208208
run: |
209209
remotes::install_cran("covr")
210210
shell: Rscript {0}
211211

212212
- name: Install pkgdown
213-
if: github.ref == 'refs/heads/master' && env.run_pkgdown == 'true' && runner.os == 'Linux'
213+
if: github.ref == 'refs/heads/devel' && env.run_pkgdown == 'true' && runner.os == 'Linux'
214214
run: |
215215
remotes::install_github("r-lib/pkgdown")
216216
shell: Rscript {0}
@@ -260,17 +260,17 @@ jobs:
260260
shell: Rscript {0}
261261

262262
- name: Test coverage
263-
if: github.ref == 'refs/heads/master' && env.run_covr == 'true' && runner.os == 'Linux'
263+
if: github.ref == 'refs/heads/devel' && env.run_covr == 'true' && runner.os == 'Linux'
264264
run: |
265265
covr::codecov()
266266
shell: Rscript {0}
267267

268268
- name: Install package
269-
if: github.ref == 'refs/heads/master' && env.run_pkgdown == 'true' && runner.os == 'Linux'
269+
if: github.ref == 'refs/heads/devel' && env.run_pkgdown == 'true' && runner.os == 'Linux'
270270
run: R CMD INSTALL .
271271

272272
- name: Build pkgdown site
273-
if: github.ref == 'refs/heads/master' && env.run_pkgdown == 'true' && runner.os == 'Linux'
273+
if: github.ref == 'refs/heads/devel' && env.run_pkgdown == 'true' && runner.os == 'Linux'
274274
run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
275275
shell: Rscript {0}
276276
## Note that you need to run pkgdown::deploy_to_branch(new_process = FALSE)
@@ -279,12 +279,12 @@ jobs:
279279
## makes the git history recognizable by pkgdown.
280280

281281
- name: Install deploy dependencies
282-
if: github.ref == 'refs/heads/master' && env.run_pkgdown == 'true' && runner.os == 'Linux'
282+
if: github.ref == 'refs/heads/devel' && env.run_pkgdown == 'true' && runner.os == 'Linux'
283283
run: |
284284
apt-get update && apt-get -y install rsync
285285
286286
- name: Deploy pkgdown site to GitHub pages 🚀
287-
if: github.ref == 'refs/heads/master' && env.run_pkgdown == 'true' && runner.os == 'Linux'
287+
if: github.ref == 'refs/heads/devel' && env.run_pkgdown == 'true' && runner.os == 'Linux'
288288
uses: JamesIves/github-pages-deploy-action@releases/v4
289289
with:
290290
clean: false

0 commit comments

Comments
 (0)