Skip to content

Commit

Permalink
GHA: add a reusable workflow to build the pkgdown site on PR
Browse files Browse the repository at this point in the history
  • Loading branch information
Bai-Li-NOAA committed Jun 26, 2024
1 parent f071a64 commit 0296e41
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/call-build-pkgdown.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 0296e41

Please sign in to comment.