Skip to content

Commit

Permalink
Add workflow to upload sentry sourcemaps (#19480)
Browse files Browse the repository at this point in the history
On push to develop, run ci_package.sh setting SENTRY_ environment variables, which causes webpack to invoke the sentry plugin to upload sourcemaps
  • Loading branch information
novocaine authored Oct 26, 2021
1 parent 4c4b9b9 commit 940aaa0
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/sentry-sourcemaps.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Upload Sentry Sourcemaps
on:
push:
branches:
- develop

jobs:
runs-on: ubuntu-latest
environment: develop
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14'
cache: 'yarn'
- run: ./scripts/fetch-develop.deps.sh --depth 1
- run: yarn install
- run: ./scripts/ci_package.sh
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
SENTRY_URL: ${{ secrets.SENTRY_URL }}
SENTRY_ORG: sentry
SENTRY_PROJECT: riot-web

0 comments on commit 940aaa0

Please sign in to comment.