Skip to content

Commit 30d3fcc

Browse files
committed
enable sentry job
1 parent 2340865 commit 30d3fcc

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

.github/workflows/production.yaml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -41,29 +41,29 @@ jobs:
4141
username: toska+github
4242
password: ${{ secrets.QUAY_IO_TOKEN }}
4343

44-
# sentry-release:
45-
# runs-on: blacksmith-4vcpu-ubuntu-2404
46-
# needs: build-and-push-to-production
47-
# timeout-minutes: 2
44+
sentry-release:
45+
runs-on: blacksmith-4vcpu-ubuntu-2404
46+
needs: build-and-push-to-production
47+
timeout-minutes: 2
4848

49-
# steps:
50-
# - uses: actions/checkout@v4
49+
steps:
50+
- uses: actions/checkout@v4
5151

52-
# - name: Pull image and create a container
53-
# run: docker create --name gptwrapper quay.io/toska/gptwrapper:production
52+
- name: Pull image and create a container
53+
run: docker create --name gptwrapper quay.io/toska/gptwrapper:production
5454

55-
# - name: Copy assets from the container
56-
# run: docker cp gptwrapper:/opt/app-root/src/dist ./dist
55+
- name: Copy assets from the container
56+
run: docker cp gptwrapper:/opt/app-root/src/dist ./dist
5757

58-
# - name: Create Sentry release
59-
# uses: getsentry/action-release@v1
60-
# env:
61-
# SENTRY_URL: https://toska.cs.helsinki.fi/
62-
# SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_TOKEN }}
63-
# SENTRY_ORG: toska
64-
# SENTRY_PROJECT: currechat-frontend
65-
# with:
66-
# environment: production
67-
# set_commits: 'skip'
68-
# sourcemaps: ./dist/assets
69-
# url_prefix: '~/assets'
58+
- name: Create Sentry release
59+
uses: getsentry/action-release@v1
60+
env:
61+
SENTRY_URL: ${{ secrets.SENTRY_URL }}
62+
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_TOKEN }}
63+
SENTRY_ORG: sentry
64+
SENTRY_PROJECT: currechat-frontend
65+
with:
66+
environment: production
67+
set_commits: 'skip'
68+
sourcemaps: ./dist/assets
69+
url_prefix: '~/assets'

0 commit comments

Comments
 (0)