Skip to content

Commit

Permalink
try adding iidda pkgdown site
Browse files Browse the repository at this point in the history
  • Loading branch information
stevencarlislewalker committed Sep 14, 2024
1 parent 0027fe7 commit 9257500
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 @@ -45,3 +45,22 @@ jobs:
branch: gh-pages
folder: R/iidda.api/docs
target-folder: iidda.api

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

- name: Build site
run: pkgdown::build_site_github_pages(pkg = "R/iidda", 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
3 changes: 3 additions & 0 deletions R/iidda/_pkgdown.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
url: https://canmod.github.io/iidda-tools/iidda
template:
bootstrap: 5

0 comments on commit 9257500

Please sign in to comment.