-
Notifications
You must be signed in to change notification settings - Fork 1
40 lines (37 loc) · 1.34 KB
/
publish-sentry.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
# name: Sentry Release
# on:
# release:
# types: [created]
# jobs:
# release:
# runs-on: ubuntu-latest
# env:
# SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
# SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
# SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
# # SENTRY_URL: https://sentry.io/
# PRISMIC_KEY: ${{ secrets.PRISMIC_KEY }}
# NEXT_PUBLIC_BASE_API_URL: https://impactmarket-api-production.herokuapp.com
# steps:
# - uses: actions/checkout@v3
# - uses: actions/setup-node@v3
# with:
# node-version: 16
# - name: Run install
# uses: borales/actions-yarn@v4
# with:
# cmd: install # will run `yarn install` command
# - name: Run build
# uses: borales/actions-yarn@v4
# with:
# cmd: build
# - name: Set SENTRY_RELEASE
# run: export SENTRY_RELEASE=`sentry-cli releases propose-version`
# - name: Create Sentry release
# uses: getsentry/action-release@v1
# with:
# environment: production
# sourcemaps: ./.next
# url_prefix: ~/_next