From 25ad00c0560c906bfdc6113ca397f910a733de7b 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: Mon, 6 Mar 2023 00:29:02 +0000 Subject: [PATCH] chore: also update for spider --- .github/workflows/eoefans-spider-azure-deploy.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/eoefans-spider-azure-deploy.yml b/.github/workflows/eoefans-spider-azure-deploy.yml index 836cfe8..dfe7b5c 100644 --- a/.github/workflows/eoefans-spider-azure-deploy.yml +++ b/.github/workflows/eoefans-spider-azure-deploy.yml @@ -11,12 +11,18 @@ on: deploy_version: required: true type: string + sentry_release: + required: true + type: string + env: AZURE_WEBAPP_NAME: "eoefans-spider" # set this to your application's name IMAGE_REGISTRY: "containers.vlink.dev" IMAGE_REPO: "eoefans" IMAGE_NAME: "eoefans-spider" - DEPLOY_VERSION: ${{ inputs.deploy_version }} + DEPLOY_VERSION: ${{ inputs.deploy_version }} + + SENTRY_RELEASE: ${{ inputs.sentry_release }} SENTRY_ORG: "eoefans" SENTRY_PROJECT: "eoefans-spider" @@ -54,6 +60,7 @@ jobs: images: ${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_REPO }}/${{ env.IMAGE_NAME }}:${{ env.DEPLOY_VERSION }} - name: Create Sentry release + if: ${{ (env.SENTRY_RELEASE == 'true') || (env.SENTRY_RELEASE == 'True') || (env.SENTRY_RELEASE == '1') }} uses: getsentry/action-release@v1 env: SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}