Skip to content

Commit

Permalink
pkgdown gh action retry
Browse files Browse the repository at this point in the history
switching to mac-os as this works with the setup-r-dependencies action
  • Loading branch information
mjz1 committed Jul 10, 2024
1 parent f11b312 commit e5ee037
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 11 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ Dockerfile
^Meta$
^vignettes/*_files$
^vignettes/articles$
^vignettes/figure/
16 changes: 6 additions & 10 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ permissions: read-all

jobs:
pkgdown:
runs-on: ubuntu-latest
runs-on: macos-latest
# Only restrict concurrency for non-PR jobs
concurrency:
group: pkgdown-${{ github.event_name != 'pull_request' || github.run_id }}
Expand All @@ -31,15 +31,11 @@ jobs:
- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true

- name: Install libcurl on Linux
if: runner.os == 'Linux'
run: sudo apt-get update -y && sudo apt-get install -y libcurl4-openssl-dev
# - uses: r-lib/actions/setup-r-dependencies@v2
# with:
# extra-packages: any::pkgdown, any::XML, local::.
# needs: website
- uses: r-lib/actions/setup-renv@v2

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::pkgdown, local::.
needs: website

- name: Build site
run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ example
/Meta/
.vscode/
results/
docs
1 change: 0 additions & 1 deletion vignettes/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@
*.R
example/
*_files
figure/
Binary file added vignettes/figure/a5u0-plot-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added vignettes/figure/aa9s-plot-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e5ee037

Please sign in to comment.