Skip to content

Commit

Permalink
init repo
Browse files Browse the repository at this point in the history
  • Loading branch information
bkainen committed Aug 19, 2024
1 parent bb51451 commit e3df964
Show file tree
Hide file tree
Showing 47 changed files with 10,920 additions and 0 deletions.
64 changes: 64 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
on:
workflow_dispatch:
push:
branches:
- main

name: Quarto Publish

jobs:
build-deploy:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Check out repository
uses: actions/checkout@v4

- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2
# From https://github.com/r-lib/actions/tree/v2-branch/setup-r
- name: Setup R
uses: r-lib/actions/setup-r@v2
with:
r-version: '4.3.1'

# - name: Install R package dependencies
# uses: r-lib/actions/setup-r-dependencies@v2
# with:
# cache-version: 2
# packages: |
# any::DT
# any::ggplot2
# any::remotes
# any::curl
# any::jsonlite
# any::pkgdown
#
# - name: Install package from GH
# run: |
# Rscript -e 'remotes::install_github("ruralinnovation/cori.data.fcc")'
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
#
# - name: Install R Dependencies
# uses: r-lib/actions/setup-renv@v2
# with:
# cache-version: 1

- name: Render and Publish
uses: quarto-dev/quarto-actions/publish@v2
with:
target: gh-pages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# - name: Print GITHUB_TOKEN
# run: echo ${{ secrets.GITHUB_TOKEN }}

- name: Print GITHUB_WORKSPACE
run: echo ${GITHUB_WORKSPACE}

- name: List outputs after render
run: |
ls -l "${GITHUB_WORKSPACE}/"
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
.RData
.Ruserdata
*.Rproj
.DS_Store
39 changes: 39 additions & 0 deletions _quarto.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
project:
type: website

website:
title: "Additional resources for fellows"
sidebar:
style: "docked"
search: true
contents:
- href: intro.qmd
text: Intro
- section: Health
contents:
- href: themes/health/county-health-rankings.qmd
text: County Health Rankings
- href: themes/health/hrsa_map.qmd
text: HSRA Map
- section: Community Advocacy
contents:
- href: themes/access/rural-capacity-index.qmd
text: Rural Capacity Index
- section: Resource Access
contents:
- href: themes/resources/food-atlas.qmd
text: Food Access Research Atlas
- section: Business
contents:
- href: themes/business/data-axle.qmd
text: Data Axle


format:
html:
theme: cosmo
css: styles.css
toc: true



Loading

0 comments on commit e3df964

Please sign in to comment.