Skip to content

Commit 46d2d54

Browse files
authored
Merge pull request #123 from cmu-delphi/lcb/use-api-key
ci: set DELPHI_EPIDATA_KEY, from a GitHub Secret
2 parents 621066a + b4a1545 commit 46d2d54

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ jobs:
3232
lintr::lint_package('.')
3333
3434
- uses: r-lib/actions/check-r-package@v2
35+
env:
36+
DELPHI_EPIDATA_KEY: ${{ secrets.SECRET_EPIPROCESS_GHACTIONS_DELPHI_EPIDATA_KEY }}
3537
with:
3638
args: 'c("--no-manual", "--as-cran")'
3739
build-args: 'c("--no-build-vignettes")'

.github/workflows/pkgdown.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ jobs:
3737
needs: website
3838

3939
- name: Build site
40+
env:
41+
DELPHI_EPIDATA_KEY: ${{ secrets.SECRET_EPIDATR_GHACTIONS_DELPHI_EPIDATA_KEY }}
4042
run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
4143
shell: Rscript {0}
4244

.github/workflows/test-coverage.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ jobs:
2828
needs: coverage
2929

3030
- name: Test coverage
31+
env:
32+
DELPHI_EPIDATA_KEY: ${{ secrets.SECRET_EPIDATR_GHACTIONS_DELPHI_EPIDATA_KEY }}
3133
run: |
3234
covr::codecov(
3335
quiet = FALSE,

0 commit comments

Comments
 (0)