Skip to content

Commit 737af12

Browse files
authored
Merge pull request #819 from cmu-delphi/blog-build-fix
fix blog CI
2 parents ac83374 + 09e1900 commit 737af12

File tree

7 files changed

+20
-24
lines changed

7 files changed

+20
-24
lines changed

.github/workflows/blog.yaml

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
name: blog
2-
32
on:
43
push:
54
paths: # run only when an Rmd file changes
@@ -8,7 +7,6 @@ on:
87
- "dependencies.R"
98
- ".github/workflows/blog.yaml"
109
workflow_dispatch:
11-
1210
jobs:
1311
blog:
1412
runs-on: ubuntu-latest
@@ -55,23 +53,4 @@ jobs:
5553
name: blog
5654
path: |
5755
./content/blog
58-
./static/blog
59-
60-
- uses: actions/setup-node@v3
61-
with:
62-
node-version: 16
63-
- uses: actions/[email protected]
64-
with:
65-
path: ~/.npm
66-
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
67-
restore-keys: |
68-
${{ runner.os }}-node-
69-
- run: npm ci
70-
- name: Lint
71-
run: npm run lint
72-
- name: Build
73-
run: npm run build
74-
- uses: actions/upload-artifact@v3
75-
with:
76-
name: website
77-
path: ./public
56+
./static/blog

content/blog/2020-08-26-fb-survey.Rmd

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ output:
4747
toc: true
4848
---
4949

50+
```{r, echo=FALSE}
51+
options(covidcast.auth = "9328d11cfe46d") # Minh's key
52+
```
53+
5054
Since April 2020, in collaboration with Facebook,
5155
partner universities, and public health officials,
5256
we've been conducting a massive daily survey to monitor

content/blog/2020-10-06-survey-wave-4.Rmd

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ output:
3030
blogdown::html_page:
3131
toc: true
3232
---
33-
33+
```{r, echo=FALSE}
34+
options(covidcast.auth = "9328d11cfe46d") # Minh's key
35+
```
3436
Beginning in early April 2020, the `r blogdown::shortcode_html("reflink", "/", "Delphi group")` has
3537
conducted a major survey to track COVID-19 across the United States. With the
3638
support of Facebook Data for Good, we have been able to recruit tens of

content/blog/2020-10-14-dv-signal.Rmd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ library(covidcast)
7575
library(dplyr)
7676
library(ggplot2)
7777
library(gridExtra)
78+
options(covidcast.auth = "9328d11cfe46d") # Minh's key
7879
7980
# Fetch DV % CLI signal and USAFacts confirmed case incidence proportion at
8081
# the state level

content/blog/2020-12-10-masks-public.Rmd

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ output:
2121
toc: true
2222
---
2323

24+
```{r, echo=FALSE}
25+
options(covidcast.auth = "9328d11cfe46d") # Minh's key
26+
```
27+
2428
As COVID cases and deaths continue to rise in the United States, we are
2529
repeatedly reminded that unless we take the appropriate precautions---by wearing
2630
masks when around other people, working from home whenever possible, and

content/blog/2021-01-15-causal-effect-mobility.Rmd

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ output:
2727
toc: true
2828
---
2929

30+
```{r, echo=FALSE}
31+
options(covidcast.auth = "9328d11cfe46d") # Minh's key
32+
```
33+
3034
```{r setup, include=FALSE}
3135
knitr::opts_chunk$set(collapse = TRUE)
3236
```

content/blog/2021-01-22-holiday-surveys.Rmd

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ output:
2929
blogdown::html_page:
3030
toc: true
3131
---
32-
32+
```{r, echo=FALSE}
33+
options(covidcast.auth = "9328d11cfe46d") # Minh's key
34+
```
3335
With pandemic fatigue setting in across the United States after a long year
3436
filled with uncertainty, many felt the temptation to celebrate a “normal”
3537
Thanksgiving and Christmas. However, with cases steeply rising across the US,

0 commit comments

Comments
 (0)