From 9acf6c47d5e85017f4686446bb11dc6c0ed1be26 Mon Sep 17 00:00:00 2001 From: Egor Kotov Date: Thu, 5 Sep 2024 18:53:57 +0200 Subject: [PATCH] pkgdown on PR --- .github/workflows/rostemplate-gh-pages.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rostemplate-gh-pages.yaml b/.github/workflows/rostemplate-gh-pages.yaml index 240b11e..fd2711c 100644 --- a/.github/workflows/rostemplate-gh-pages.yaml +++ b/.github/workflows/rostemplate-gh-pages.yaml @@ -5,6 +5,11 @@ on: push: branches: [main, master] tags: ['*'] + pull_request: + branches: [main, master] + release: + types: [published] + workflow_dispatch: name: rostemplate-gh-pages permissions: write-all @@ -36,4 +41,3 @@ jobs: git config --local user.name "github-actions[bot]" git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" Rscript -e 'pkgdown::deploy_to_branch(new_process = FALSE, clean = TRUE)' -