Skip to content

Commit

Permalink
Merge pull request #1 from OHDSI/webpage-dev
Browse files Browse the repository at this point in the history
Webpage dev
  • Loading branch information
jenpark10 authored Oct 17, 2023
2 parents f764998 + 9aee5f5 commit ef7a85c
Show file tree
Hide file tree
Showing 133 changed files with 60,259 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/render_site_from_rmd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
on:
push:
branches:
- '**'
pull_request:
types: [opened, edited]
paths:
- '**'

name: render R Markdown files to docs

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: write
pages: write
id-token: write

jobs:
render:
name: render all R Markdown documents
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: r-lib/actions/setup-r@v2
- uses: r-lib/actions/setup-pandoc@v2
- uses: r-lib/actions/setup-tinytex@v2
- name: Install known depedencies
run: |
Rscript -e "install.packages('rmarkdown')"
- name: render all R Markdown documents
run: |
Rscript -e "rmarkdown::render_site('rmd/')"
- uses: stefanzweifel/git-auto-commit-action@v4
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
# Upload entire repository
path: 'docs/'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,6 @@ vignettes/*.pdf

# R Environment Variables
.Renviron

# Ignore mac data file
.DS_Store
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
# ImageWG
Repository for medical image working group

test
Loading

0 comments on commit ef7a85c

Please sign in to comment.