Skip to content

Commit

Permalink
ci: install rsync
Browse files Browse the repository at this point in the history
  • Loading branch information
jorainer committed Oct 12, 2024
1 parent 28ae8fd commit a5a5623
Showing 1 changed file with 22 additions and 17 deletions.
39 changes: 22 additions & 17 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,25 +37,25 @@ jobs:
- name: Checkout package
uses: actions/checkout@v4

- name: Repository metadata
uses: varunsridharan/action-repository-meta@main
with:
REPOSITORY: ${{github.repository}}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- continue-on-error: true
run: |
git config --global --add safe.directory "$GITHUB_WORKSPACE"
# - name: Repository metadata
# uses: varunsridharan/action-repository-meta@main
# with:
# REPOSITORY: ${{github.repository}}
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# - continue-on-error: true
# run: |
# git config --global --add safe.directory "$GITHUB_WORKSPACE"

- name: Setup pandoc from r-lib
if: runner.os != 'Linux'
uses: r-lib/actions/setup-pandoc@v2
# - name: Setup pandoc from r-lib
# if: runner.os != 'Linux'
# uses: r-lib/actions/setup-pandoc@v2

- name: Setup R from r-lib
if: runner.os != 'Linux'
uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
# - name: Setup R from r-lib
# if: runner.os != 'Linux'
# uses: r-lib/actions/setup-r@v2
# with:
# use-public-rspm: true

- uses: r-lib/actions/setup-r-dependencies@v2
with:
Expand All @@ -80,6 +80,11 @@ jobs:
pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
shell: Rscript {0}

- name: Install deploy dependencies
run: |
apt-get update
apt-get -y install rsync
- name: Deploy to GitHub pages 🚀
if: github.event_name != 'pull_request'
uses: JamesIves/[email protected]
Expand Down

0 comments on commit a5a5623

Please sign in to comment.