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: