From c20c1aa147d4d5bc493cf060b1888017d67c5102 Mon Sep 17 00:00:00 2001 From: Matthew Phelps Date: Mon, 18 Mar 2024 15:35:51 +0100 Subject: [PATCH] Testing yml fixes --- .github/workflows/pkgdown.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pkgdown.yaml b/.github/workflows/pkgdown.yaml index 8b951ee..9188ef7 100644 --- a/.github/workflows/pkgdown.yaml +++ b/.github/workflows/pkgdown.yaml @@ -4,7 +4,7 @@ on: push: branches: [main, master] pull_request: - branches: [main, master] + branches: [main, master, dev] release: types: [published] workflow_dispatch: @@ -39,7 +39,7 @@ jobs: run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE) shell: Rscript {0} -# If not pull request a brand new webpage is deployed + # If not pull request a brand new webpage is deployed - name: Deploy to GitHub pages 🚀 if: github.event_name != 'pull_request' uses: JamesIves/github-pages-deploy-action@v4.5.0 @@ -48,8 +48,7 @@ jobs: branch: gh-pages folder: docs - # If pull request the webpage is deployed inside a dev/"PR number" folder for review - + # If pull request the webpage is deployed inside a dev/"PR number" folder for review - name: Add pkgdown PR Comment uses: marocchino/sticky-pull-request-comment@v2 if: github.event_name == 'pull_request'