From f8402a87d48669e7e03499fcadc0e1b4c93c7ff8 Mon Sep 17 00:00:00 2001 From: Michel Wilhelm Date: Wed, 31 Aug 2022 13:40:19 -0300 Subject: [PATCH] test: testando envio de releases para Sentry 3 --- .github/workflows/on_release.yml | 23 +++++------------------ 1 file changed, 5 insertions(+), 18 deletions(-) diff --git a/.github/workflows/on_release.yml b/.github/workflows/on_release.yml index b894f4c..529dbc2 100644 --- a/.github/workflows/on_release.yml +++ b/.github/workflows/on_release.yml @@ -41,25 +41,12 @@ jobs: # push: true # tags: ${{ steps.meta.outputs.tags }} # labels: ${{ steps.meta.outputs.labels }} - # - name: Create Sentry release - # uses: getsentry/action-release@v1 - # env: - # SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} - # SENTRY_ORG: make-codes - # SENTRY_PROJECT: minesweeper - # with: - # environment: production - # version: ${{ github.ref }} - - name: Create a Sentry.io release - uses: tclindner/sentry-releases-action@v1.2.0 + - name: Create Sentry release + uses: distributhor/workflow-webhook@v2 env: - SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} - SENTRY_ORG: make-codes - SENTRY_PROJECT: minesweeper - with: - tagName: ${{ github.ref_name }} - environment: production - + webhook_type: 'json-extended' + webhook_url: ${{ secrets.SENTRY_WEBHOOK_URL }} + data: '{ "version": "${{ github.ref_name }}", "environment" : "production" }' # - name: executing remote ssh commands using password # uses: appleboy/ssh-action@master # with: