Skip to content

Commit

Permalink
fix: sentry should now be activated
Browse files Browse the repository at this point in the history
  • Loading branch information
jaydoobs committed May 4, 2020
1 parent d104ac1 commit 832b099
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions .github/workflows/cicd.yml
Expand Up @@ -214,6 +214,14 @@ jobs:
- name: Install yarn packages
run: yarn install

- name: Inject Sentry DSN for new release
if: needs.get-version.outputs.new_release_will_be_published == 'true'
uses: cschleiden/replace-tokens@v1
with:
files: '["**/sentry.ts"]'
env:
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}

- name: Replace version in package.json
uses: onlyutkarsh/patch-files-action@v1.0.1
with:
Expand Down Expand Up @@ -257,6 +265,14 @@ jobs:
- name: Install yarn packages
run: yarn install

- name: Inject Sentry DSN for new release
if: needs.get-version.outputs.new_release_will_be_published == 'true'
uses: cschleiden/replace-tokens@v1
with:
files: '["**/sentry.ts"]'
env:
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}

- name: Replace version in package.json
uses: onlyutkarsh/patch-files-action@v1.0.1
with:
Expand Down Expand Up @@ -421,14 +437,6 @@ jobs:
name: Native node module
path: ./build

- name: Inject Sentry DSN for new release
if: needs.get-version.outputs.new_release_will_be_published == 'true'
uses: cschleiden/replace-tokens@v1
with:
files: '["**/sentry.ts"]'
env:
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}

- name: Replace version in package.json
uses: onlyutkarsh/patch-files-action@v1.0.1
with:
Expand Down

0 comments on commit 832b099

Please sign in to comment.