Skip to content

Commit

Permalink
Another attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
ivelasq committed Oct 21, 2024
1 parent e8e84d4 commit fa4d959
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/deploy-bookdown-netlify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,13 @@ jobs:

- name: Install R dependencies with RSPM for dummies and GitHub PAT
run: |
# Set CRAN as the default repository
Rscript -e 'options(repos = c(CRAN = "https://cloud.r-project.org"))'
# Install remotes package
Rscript -e 'install.packages("remotes")'
# Install dummies from RSPM (archived version)
Rscript -e 'install.packages("dummies", repos = "https://packagemanager.rstudio.com/cran/__linux__/focal/2021-07-01")'
# Install other dependencies from DESCRIPTION using GitHub PAT
Rscript -e 'Sys.setenv(GITHUB_PAT = Sys.getenv("GITHUB_TOKEN"))'
Rscript -e 'remotes::install_deps()'
uses: r-lib/actions/setup-r-dependencies@v2
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}

- name: Build bookdown site
run: |
Expand Down

0 comments on commit fa4d959

Please sign in to comment.