Skip to content

Commit

Permalink
make sure version is correct
Browse files Browse the repository at this point in the history
  • Loading branch information
SanderDevisscher committed Aug 22, 2024
1 parent 2e9025a commit 3bb1e2a
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/Build pkgdown site.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,19 @@ jobs:
run: install.packages('pkgdown')
shell: Rscript {0}

- name: pull changes to branch if any
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
if ! git diff --cached --quiet; then
git pull --rebase origin ${{ github.head_ref }}
else
echo "No changes to pull."
fi
- name: Build pkgdown site
run: pkgdown::build_site()
shell: Rscript {0}
Expand Down

0 comments on commit 3bb1e2a

Please sign in to comment.