Skip to content

Commit 572f6e6

Browse files
authored
Merge pull request #328 from cmu-delphi/lcb/use-api-key
Set DELPHI_EPIDATA_KEY, from a GitHub Secret
2 parents d8a95c7 + 1d26905 commit 572f6e6

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

.Rbuildignore

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
^renv$
2+
^renv\.lock$
13
^.*\.Rproj$
24
^\.Rproj\.user$
35
^LICENSE\.md$

.github/workflows/R-CMD-check.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
22
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
3+
#
4+
# Created with usethis + edited to run on PRs to dev, use API key.
35
on:
46
push:
57
branches: [main, master]
@@ -27,3 +29,5 @@ jobs:
2729
needs: check
2830

2931
- uses: r-lib/actions/check-r-package@v2
32+
env:
33+
DELPHI_EPIDATA_KEY: ${{ secrets.SECRET_EPIPROCESS_GHACTIONS_DELPHI_EPIDATA_KEY }}

.github/workflows/pkgdown.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
22
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
3+
#
4+
# Created with usethis + edited to run on PRs to dev, use API key.
35
on:
46
push:
57
branches: [main, master]
@@ -34,6 +36,8 @@ jobs:
3436
needs: website
3537

3638
- name: Build site
39+
env:
40+
DELPHI_EPIDATA_KEY: ${{ secrets.SECRET_EPIPROCESS_GHACTIONS_DELPHI_EPIDATA_KEY }}
3741
run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
3842
shell: Rscript {0}
3943

0 commit comments

Comments
 (0)