Skip to content

Commit

Permalink
fix: update pkgdown workflow configuration
Browse files Browse the repository at this point in the history
- Simplify GitHub Actions workflow
- Update to use actions/deploy-pages@v2
- Fix Jekyll build issues
  • Loading branch information
cafferychen777 committed Nov 4, 2024
1 parent 57d9dd0 commit e9bc33b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@ jobs:
needs: website

- name: Build site
run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
run: |
mkdir -p docs/assets/css
echo '@import "{{ site.theme }}";' > docs/assets/css/style.scss
pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
shell: Rscript {0}

- name: Deploy to GitHub pages
Expand Down

0 comments on commit e9bc33b

Please sign in to comment.