Skip to content

Commit

Permalink
iidda.analysis pkgdown
Browse files Browse the repository at this point in the history
  • Loading branch information
stevencarlislewalker committed Sep 14, 2024
1 parent 9257500 commit 95aa61d
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,22 @@ jobs:
branch: gh-pages
folder: R/iidda/docs
target-folder: iidda

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

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

- name: Deploy to GitHub pages 🚀
if: github.event_name != 'pull_request'
uses: JamesIves/github-pages-deploy-action@v4.4.1
with:
clean: false
branch: gh-pages
folder: R/iidda/docs
target-folder: iidda.analysis
3 changes: 3 additions & 0 deletions R/iidda.analysis/_pkgdown.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
url: https://canmod.github.io/iidda-tools/iidda.analysis
template:
bootstrap: 5

0 comments on commit 95aa61d

Please sign in to comment.