From 4ef80fc499a3686aa4ce0561c0d25de029d126cb Mon Sep 17 00:00:00 2001 From: Bai-Li-NOAA Date: Wed, 29 May 2024 15:01:23 -0400 Subject: [PATCH] GHA: add a reusable workflow to build the pkgdown site on PR --- .github/workflows/call-build-pkgdown.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .github/workflows/call-build-pkgdown.yml diff --git a/.github/workflows/call-build-pkgdown.yml b/.github/workflows/call-build-pkgdown.yml new file mode 100644 index 000000000..78da70b20 --- /dev/null +++ b/.github/workflows/call-build-pkgdown.yml @@ -0,0 +1,12 @@ +# Checks that the pkgdown site builds for a repository. +# this assumes pkgdown is already set up. +name: call-build-pkgdown +# on specifies the build triggers. See more info at https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows +on: + workflow_dispatch: + pull_request: + branches: + - main +jobs: + call-workflow: + uses: nmfs-fish-tools/ghactions4r/.github/workflows/build-pkgdown.yml@main