Skip to content

Commit

Permalink
ci: handle sentry-project and newrelic-guid
Browse files Browse the repository at this point in the history
  • Loading branch information
nilaycicekli committed Oct 7, 2024
1 parent 8d0e8ef commit 828bae4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/reusable-docker-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
runs-on: ubuntu-latest
env:
APP_NAME: microsoft-teams-app
SENTRY_PROJECT: microsoft-teams-app
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -116,8 +117,8 @@ jobs:
--arg v "${{ env.version }}" \
--arg c "${{ env.commit-id }}" \
--arg e "${{ inputs.environment }}" \
--arg n "${{ secrets.NEWRELIC_APPLICATION_GUID }}" \
--arg s "$APP_NAME" \
--arg n "${{ github.event_name != 'schedule' && secrets.NEWRELIC_APPLICATION_GUID || '' }}" \
--arg s "${{ github.event_name != 'schedule' && '$SENTRY_PROJECT' || '' }}" \
'{"app-name": $a, "branch": $b, "version": $v, "tag": $t, "commit-id": $c, "environment": $e, "newrelic-guid": $n, "sentry-project": $s }'
)
echo $JSON_DATA | gh workflow run deploy-app.yaml --repo zeplin/infra --json
Expand Down

0 comments on commit 828bae4

Please sign in to comment.