From 34d9be965e1717d9a625e431e173036b6e73d8f6 Mon Sep 17 00:00:00 2001 From: Reinaldy Rafli Date: Thu, 15 Jul 2021 13:51:39 +0700 Subject: [PATCH] ci: sentry release --- .github/workflows/api.yml | 13 ++++++++++++- .github/workflows/client.yml | 13 ++++++++++++- 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/.github/workflows/api.yml b/.github/workflows/api.yml index 964360e..31b9f97 100644 --- a/.github/workflows/api.yml +++ b/.github/workflows/api.yml @@ -49,4 +49,15 @@ jobs: languages: go - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v1 \ No newline at end of file + uses: github/codeql-action/analyze@v1 + + - name: Create Sentry release + uses: getsentry/action-release@v1 + env: + SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_TOKEN }} + SENTRY_ORG: ${{ secrets.SENTRY_ORG }} + SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT_API}} + with: + environment: production + set_commits: skip + version: ${{ github.ref }} \ No newline at end of file diff --git a/.github/workflows/client.yml b/.github/workflows/client.yml index ded26c8..da2b72c 100644 --- a/.github/workflows/client.yml +++ b/.github/workflows/client.yml @@ -54,4 +54,15 @@ jobs: languages: javascript - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v1 \ No newline at end of file + uses: github/codeql-action/analyze@v1 + + - name: Create Sentry release + uses: getsentry/action-release@v1 + env: + SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_TOKEN }} + SENTRY_ORG: ${{ secrets.SENTRY_ORG }} + SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT_CLIENT }} + with: + environment: production + set_commits: skip + version: ${{ github.ref }} \ No newline at end of file