diff --git a/.github/workflows/trigger_build_pkgdown_site.yaml b/.github/workflows/trigger_build_pkgdown_site.yaml index 2d7da0e..3cd73d6 100644 --- a/.github/workflows/trigger_build_pkgdown_site.yaml +++ b/.github/workflows/trigger_build_pkgdown_site.yaml @@ -22,7 +22,8 @@ jobs: - name: Configure GitHub CLI run: echo "${{ secrets.GITHUB_TOKEN }}" | gh auth login --with-token - - name: Trigger Build pkgdown site - run: gh workflow run "Build pkgdown site" + - name: Trigger Build pkgdown site + run: | + gh workflow run "Build pkgdown site" --ref ${{ github.head_ref }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}