From 35fe01e966fb32010ac097247771c322621e63f3 Mon Sep 17 00:00:00 2001 From: Lextuga007 Date: Mon, 28 Sep 2026 15:58:22 +0100 Subject: [PATCH 1/2] Updated gha to run from main for deploy --- .github/workflows/pkgdown.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pkgdown.yaml b/.github/workflows/pkgdown.yaml index ae66f3c..9414ff4 100644 --- a/.github/workflows/pkgdown.yaml +++ b/.github/workflows/pkgdown.yaml @@ -2,7 +2,7 @@ # Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help on: push: - branches: [111-pkgdown] + branches: [main] pull_request: release: types: [published] @@ -42,7 +42,7 @@ jobs: shell: Rscript {0} - name: Deploy to GitHub pages 🚀 - + if: github.event_name != 'pull_request' uses: JamesIves/github-pages-deploy-action@d92aa235d04922e8f08b40ce78cc5442fcfbfa2f # v4.8.0 with: clean: false From d880e2f852f05d8e4388cbc2fc9092835376b849 Mon Sep 17 00:00:00 2001 From: Lextuga007 Date: Tue, 29 Sep 2026 09:41:21 +0100 Subject: [PATCH 2/2] Removed PR pkgdown build and concurrency --- .github/workflows/pkgdown.yaml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/pkgdown.yaml b/.github/workflows/pkgdown.yaml index 9414ff4..de6c037 100644 --- a/.github/workflows/pkgdown.yaml +++ b/.github/workflows/pkgdown.yaml @@ -1,27 +1,25 @@ # Workflow derived from https://github.com/r-lib/actions/tree/v2/examples # Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help + +name: pkgdown.yaml + on: push: branches: [main] - pull_request: - release: - types: [published] workflow_dispatch: -name: pkgdown.yaml - permissions: read-all jobs: pkgdown: runs-on: ubuntu-latest - # Only restrict concurrency for non-PR jobs - concurrency: - group: pkgdown-${{ github.event_name != 'pull_request' || github.run_id }} + env: GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} + permissions: contents: write + steps: - uses: actions/checkout@v6 @@ -42,7 +40,6 @@ jobs: shell: Rscript {0} - name: Deploy to GitHub pages 🚀 - if: github.event_name != 'pull_request' uses: JamesIves/github-pages-deploy-action@d92aa235d04922e8f08b40ce78cc5442fcfbfa2f # v4.8.0 with: clean: false