Skip to content

Commit

Permalink
GH page deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonysena committed Sep 18, 2024
1 parent a3508cc commit f081a7f
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 8 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ docs
^_pkgdown\.yml$
^docs$
^pkgdown$
^\.github$
1 change: 1 addition & 0 deletions .github/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.html
21 changes: 17 additions & 4 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Authors@R: c(
Maintainer: Anthony Sena <[email protected]>
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),
Expand Down
7 changes: 4 additions & 3 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit f081a7f

Please sign in to comment.