Skip to content

Commit

Permalink
hardcode sentry envs
Browse files Browse the repository at this point in the history
  • Loading branch information
Manwe-777 committed Dec 9, 2023
1 parent 9d80522 commit 663f711
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/deploy-web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ jobs:
web-deploy:
name: Deploy
runs-on: ubuntu-latest
environment: actions
steps:
- name: "Setup node"
uses: actions/setup-node@v1
Expand All @@ -36,6 +35,10 @@ jobs:
run: echo "INFO_JSON=$(jq -c . < ./src/info.json)" >> $GITHUB_ENV

- uses: getsentry/action-release@v1
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: mtgatool
SENTRY_PROJECT: desktop
with:
environment: 'development'
version: ${{ fromJson(env.INFO_JSON).version }}-${{ fromJson(env.INFO_JSON).branch }}-${{ fromJson(env.INFO_JSON).timestamp }}
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-2019, macos-11]

environment: actions
steps:
- name: "Setup node"
uses: actions/setup-node@v1
Expand Down Expand Up @@ -50,6 +48,10 @@ jobs:
run: echo "INFO_JSON=$(jq -c . < ./src/info.json)" >> $GITHUB_ENV

- uses: getsentry/action-release@v1
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: mtgatool
SENTRY_PROJECT: desktop
with:
environment: 'production'
version: ${{ fromJson(env.INFO_JSON).version }}
Expand Down

0 comments on commit 663f711

Please sign in to comment.