diff --git a/.Rbuildignore b/.Rbuildignore index 29c2b66e..64d6f461 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -14,3 +14,4 @@ docs ^_pkgdown\.yml$ ^docs$ ^pkgdown$ +^\.github$ diff --git a/.github/.gitignore b/.github/.gitignore new file mode 100644 index 00000000..2d19fc76 --- /dev/null +++ b/.github/.gitignore @@ -0,0 +1 @@ +*.html diff --git a/.github/workflows/pkgdown.yaml b/.github/workflows/pkgdown.yaml index 9b33d955..3e0e06a4 100644 --- a/.github/workflows/pkgdown.yaml +++ b/.github/workflows/pkgdown.yaml @@ -1,6 +1,19 @@ -name: pkgdown +# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples +# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help +on: + push: + #branches: [main, master] + branches: * + #pull_request: + # branches: [main, master] + #release: + # types: [published] + workflow_dispatch: + +name: pkgdown.yaml + +permissions: read-all -on: push jobs: pkgdown: runs-on: ubuntu-latest @@ -85,8 +98,8 @@ jobs: - name: Deploy to GitHub pages 🚀 #if: github.event_name != 'pull_request' - uses: JamesIves/github-pages-deploy-action@v4.4.1 - with: + uses: JamesIves/github-pages-deploy-action@v4.5.0 + with: clean: false branch: gh-pages folder: docs diff --git a/DESCRIPTION b/DESCRIPTION index 511c7d6d..680591fd 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -12,7 +12,7 @@ Authors@R: c( Maintainer: Anthony Sena Description: An R package for coordinating and executing analytics using HADES modules. License: Apache License 2.0 -URL: https://ohdsi.github.io/Strategus, https://github.com/OHDSI/Strategus +URL: https://ohdsi.github.io/Strategus, https://github.com/OHDSI/Strategus, https://ohdsi.github.io/Strategus/ BugReports: https://github.com/OHDSI/Strategus/issues Depends: R (>= 4.2.0), diff --git a/_pkgdown.yml b/_pkgdown.yml index 885ee2a4..c5084301 100644 --- a/_pkgdown.yml +++ b/_pkgdown.yml @@ -1,15 +1,16 @@ +url: https://ohdsi.github.io/Strategus/ template: params: bootswatch: cosmo - home: links: - text: Ask a question href: http://forums.ohdsi.org - navbar: structure: - right: [hades, github] + right: + - hades + - github components: hades: text: hadesLogo