Skip to content

Hide API key #843

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jul 17, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/blog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ jobs:
${{ runner.os }}-blogdown2-${{ hashFiles('environment.yml') }}-
${{ runner.os }}-blogdown2-
- name: Build site
env:
API_KEY: ${{ secrets.DELPHI_GITHUB_ACTIONS_EPIDATA_API_KEY }}
run: |
npm run build:blog
- uses: actions/upload-artifact@v3
Expand Down
2 changes: 1 addition & 1 deletion content/blog/2020-08-26-fb-survey.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ output:
---

```{r, echo=FALSE}
options(covidcast.auth = "9328d11cfe46d") # Minh's key
options(covidcast.auth = API_KEY)
```

Since April 2020, in collaboration with Facebook,
Expand Down
2 changes: 1 addition & 1 deletion content/blog/2020-10-06-survey-wave-4.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ output:
toc: true
---
```{r, echo=FALSE}
options(covidcast.auth = "9328d11cfe46d") # Minh's key
options(covidcast.auth = API_KEY)
```
Beginning in early April 2020, the `r blogdown::shortcode_html("reflink", "/", "Delphi group")` has
conducted a major survey to track COVID-19 across the United States. With the
Expand Down
2 changes: 1 addition & 1 deletion content/blog/2020-10-14-dv-signal.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ library(covidcast)
library(dplyr)
library(ggplot2)
library(gridExtra)
options(covidcast.auth = "9328d11cfe46d") # Minh's key
options(covidcast.auth = API_KEY)

# Fetch DV % CLI signal and USAFacts confirmed case incidence proportion at
# the state level
Expand Down
2 changes: 1 addition & 1 deletion content/blog/2020-12-10-masks-public.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ output:
---

```{r, echo=FALSE}
options(covidcast.auth = "9328d11cfe46d") # Minh's key
options(covidcast.auth = API_KEY)
```

As COVID cases and deaths continue to rise in the United States, we are
Expand Down
2 changes: 1 addition & 1 deletion content/blog/2021-01-15-causal-effect-mobility.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ output:
---

```{r, echo=FALSE}
options(covidcast.auth = "9328d11cfe46d") # Minh's key
options(covidcast.auth = API_KEY)
```

```{r setup, include=FALSE}
Expand Down
2 changes: 1 addition & 1 deletion content/blog/2021-01-22-holiday-surveys.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ output:
toc: true
---
```{r, echo=FALSE}
options(covidcast.auth = "9328d11cfe46d") # Minh's key
options(covidcast.auth = API_KEY)
```
With pandemic fatigue setting in across the United States after a long year
filled with uncertainty, many felt the temptation to celebrate a “normal”
Expand Down