From 88be4616d8dc453e5b2e3df2855d296b39171f65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?George=20Kazami=20=5B=E4=B9=94=E6=B2=BB=C2=B7=E9=A2=A8?= =?UTF-8?q?=E8=A6=8B=5D?= Date: Sun, 26 Feb 2023 13:17:41 +0000 Subject: [PATCH] Update eoefans-spider-azure-deploy.yml --- .github/workflows/eoefans-spider-azure-deploy.yml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/workflows/eoefans-spider-azure-deploy.yml b/.github/workflows/eoefans-spider-azure-deploy.yml index 14e7f32..fc56247 100644 --- a/.github/workflows/eoefans-spider-azure-deploy.yml +++ b/.github/workflows/eoefans-spider-azure-deploy.yml @@ -17,7 +17,9 @@ env: IMAGE_REPO: "eoefans" IMAGE_NAME: "eoefans-spider" DEPLOY_VERSION: ${{ inputs.deploy_version }} - + SENTRY_ORG: "eoefans" + SENTRY_PROJECT: "eoefans-spider" + jobs: Deploy: @@ -46,3 +48,14 @@ jobs: app-name: ${{ env.AZURE_WEBAPP_NAME }} publish-profile: ${{ secrets.AZURE_CREDENTIALS_EOEFANS_SPIDER }} images: ${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_REPO }}/${{ env.IMAGE_NAME }}:${{ env.DEPLOY_VERSION }} + + - name: Create Sentry release + uses: getsentry/action-release@v1 + env: + SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} + SENTRY_ORG: ${{ env.SENTRY_ORG }} + SENTRY_PROJECT: ${{ env.SENTRY_PROJECT }} + SENTRY_URL: ${{ secrets.SENTRY_URL }} + with: + environment: production + version: ${{ env.DEPLOY_VERSION }}