Skip to content

Commit

Permalink
Try writing to renviron
Browse files Browse the repository at this point in the history
  • Loading branch information
camille-s committed Apr 18, 2024
1 parent 1e90cdf commit 41ee950
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ jobs:
env:
GGMAP_GOOGLE_API_KEY: ${{ secrets.GGMAP_GOOGLE_API_KEY }}
GGMAP_STADIAMAPS_API_KEY: ${{ secrets.GGMAP_STADIAMAPS_API_KEY }}
# run r code
run: |
R -e "ggmap::register_google(key = $GGMAP_GOOGLE_API_KEY, write = TRUE)"
R -e "ggmap::register_stadiamaps(key = $GGMAP_STADIAMAPS_API_KEY, write = TRUE)"
echo "GGMAP_GOOGLE_API_KEY=$GGMAP_GOOGLE_API_KEY" >> .Renviron
echo "GGMAP_STADIAMAPS_API_KEY=$GGMAP_STADIAMAPS_API_KEY" >> .Renviron
- name: Render and Publish
uses: quarto-dev/quarto-actions/publish@v2
with:
Expand Down

0 comments on commit 41ee950

Please sign in to comment.