From 7c48fd216816fb01ae1e1fa5c7b9991c3ae4857a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lie=20Siberchicot?= Date: Wed, 28 Aug 2024 15:49:50 +0200 Subject: [PATCH] Update the pkgdown workflow: attempt to make the equations executable --- .github/workflows/pkgdown.yaml | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/.github/workflows/pkgdown.yaml b/.github/workflows/pkgdown.yaml index 6f86b2c..9724325 100644 --- a/.github/workflows/pkgdown.yaml +++ b/.github/workflows/pkgdown.yaml @@ -19,6 +19,8 @@ jobs: group: pkgdown-${{ github.event_name != 'pull_request' || github.run_id }} env: GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} + permissions: + contents: write steps: - uses: actions/checkout@v4 @@ -35,20 +37,6 @@ jobs: - uses: r-lib/actions/setup-tinytex@v2 - - name: Install libraries for Linux - if: runner.os == 'Linux' - run: | - sudo apt-get install texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended texlive-fonts-extra texlive-full - - - name: Install dependencies - run: | - install.packages("remotes") - remotes::install_deps(dependencies = TRUE) - remotes::install_cran("rcmdcheck") - tinytex::tlmgr_install("amscls") - tinytex::parse_install(text = "! LaTeX Error: File `ae.sty' not found.") - shell: Rscript {0} - - name: Build site run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE) shell: Rscript {0}