Skip to content

Commit

Permalink
use environment variables to pass in variables
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-pilcher committed Dec 13, 2024
1 parent 62c6fdd commit b830b05
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ jobs:
run: curl -s https://cli.nr-ext.net/installer.sh | sudo bash

- name: NR1 CLI - Add Profile
run: nr1 profiles:add --name test-env --api-key ${{ secrets.NEW_RELIC_API_KEY }} --region ${NEW_RELIC_REGION}
run: nr1 profiles:add --name test-env --api-key ${NEW_RELIC_API_KEY} --region ${NEW_RELIC_REGION}
with:
NEW_RELIC_API_KEY: ${{ secrets.NEW_RELIC_API_KEY }}
NEW_RELIC_REGION: ${{ var.NEW_RELIC_REGION }}

- name: NR1 CLI - Display Version
run: nr1 --version
Expand Down

0 comments on commit b830b05

Please sign in to comment.