-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #41 from ecohealthalliance/dev
- Loading branch information
Showing
10 changed files
with
123 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
name: Test book render | ||
|
||
on: | ||
pull_request: | ||
branches: [main, master] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
test-book-render: | ||
runs-on: ubuntu-latest | ||
container: rocker/tidyverse:4.4.2 | ||
env: | ||
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | ||
GIT_CRYPT_KEY64: ${{ secrets.GIT_CRYPT_KEY64 }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Install system dependencies | ||
run: | | ||
apt-get update && apt-get install -y --no-install-recommends \ | ||
libglpk-dev git-crypt gh curl jq rsync | ||
- name: Install chrome | ||
run: | | ||
curl -LO https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb | ||
apt-get install -y ./google-chrome-stable_current_amd64.deb | ||
rm google-chrome-stable_current_amd64.deb | ||
- name: Trust repo | ||
run: | | ||
git config --global --add safe.directory /__w/acdc-db-handbook/acdc-db-handbook | ||
- name: Decrypt repository using symmetric key | ||
run: | | ||
echo $GIT_CRYPT_KEY64 > git_crypt_key.key64 && base64 -di git_crypt_key.key64 > git_crypt_key.key && git-crypt unlock git_crypt_key.key | ||
rm git_crypt_key.key git_crypt_key.key64 | ||
- name: Set up Quarto | ||
uses: quarto-dev/quarto-actions/setup@v2 | ||
with: | ||
tinytex: true | ||
|
||
- name: Install packages from renv.lock (with cache) | ||
if: ${{ !env.ACT }} | ||
uses: r-lib/actions/setup-renv@v2 | ||
with: | ||
cache-version: 2 | ||
|
||
- name: Install packages from renv.lock (local, no cache) | ||
if: ${{ env.ACT }} | ||
run: | | ||
renv::restore() | ||
shell: Rscript {0} | ||
|
||
- name: Render document | ||
run: | | ||
readRenviron(".env") | ||
quarto::quarto_render("index.qmd") | ||
shell: Rscript {0} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
output-file: database-dolthub.html | ||
--- | ||
|
||
# Database - DoltHub {#sec-database-dolthub} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
@Book{xie2015, | ||
title = {Dynamic Documents with {R} and knitr}, | ||
author = {Yihui Xie}, | ||
publisher = {Chapman and Hall/CRC}, | ||
address = {Boca Raton, Florida}, | ||
year = {2015}, | ||
edition = {2nd}, | ||
note = {ISBN 978-1498716963}, | ||
url = {http://yihui.org/knitr/}, | ||
|
||
@article{seminog_protocol_2024, | ||
title = {A protocol for a living mapping review of global research funding for infectious diseases with a pandemic potential ? Pandemic {PACT} [version 2; peer review: 2 approved, 2 approved with reservations]}, | ||
volume = {9}, | ||
doi = {10.12688/wellcomeopenres.21202.2}, | ||
number = {156}, | ||
journaltitle = {Wellcome Open Research}, | ||
author = {Seminog, O and Furst, R and Mendy, T and Rohanian, O and Levanita, S and Kadri-Alabi, Z and Jabin, N and Humphreys, G and Antonio, E and Bucher, A and Norton, A}, | ||
date = {2024}, | ||
file = {8331ff21-7a4d-4d8a-a371-5e5603addfe2_21202_-_alice_norton_v2:/home/ernestguevarra/Zotero/storage/8C6FAN5L/8331ff21-7a4d-4d8a-a371-5e5603addfe2_21202_-_alice_norton_v2.pdf:application/pdf}, | ||
} |