Skip to content

Commit

Permalink
Update pkgdown.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
melff authored Nov 24, 2023
1 parent 05eb36a commit a228b44
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,17 @@ jobs:
run: cp -a README.md pkg

- name: Run roxygen2 and build pages
run:
- roxygen2::roxygenize(package.dir="pkg")
- dir("pkg")
- pkgdown::build_site_github_pages(pkg = "pkg", dest_dir = "../docs", new_process = FALSE, install = FALSE)
run: roxygen2::roxygenize(package.dir="pkg")
shell: Rscript {0}


- name: Run dir
run: dir("pkg", recursive=TRUE)
shell: Rscript {0}

- name: Run pkgdown
run: pkgdown::build_site_github_pages(pkg = "pkg", dest_dir = "../docs", new_process = FALSE, install = FALSE)
shell: Rscript {0}

- name: Deploy to GitHub pages 🚀
if: github.event_name != 'pull_request'
uses: JamesIves/github-pages-deploy-action@v4.4.1
Expand Down

0 comments on commit a228b44

Please sign in to comment.