diff --git a/.github/workflows/pkgdown.yaml b/.github/workflows/pkgdown.yaml index ae66f3c..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: [111-pkgdown] - pull_request: - release: - types: [published] + branches: [main] 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 🚀 - uses: JamesIves/github-pages-deploy-action@d92aa235d04922e8f08b40ce78cc5442fcfbfa2f # v4.8.0 with: clean: false