From 447fe8313a14f98829a797ef613268012c6e5552 Mon Sep 17 00:00:00 2001 From: Alexander Smolyakov Date: Mon, 30 Jan 2023 19:19:10 +0400 Subject: [PATCH] Update release workflow (#6778) - Update AWS secrets - Rework condition for Slack notification --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1c748eb38e8..485d5ab2499 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -175,8 +175,8 @@ jobs: nightly_release: ${{ inputs.nightly_release }} secrets: - AWS_ACCESS_KEY_ID: ${{ secrets.PRODUCTION_AWS_ACCESS_KEY_ID }} - AWS_SECRET_ACCESS_KEY: ${{ secrets.PRODUCTION_AWS_SECRET_ACCESS_KEY }} + AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} + AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} github-release: name: GitHub Release @@ -209,7 +209,7 @@ jobs: slack-notification: name: Slack Notification - if: ${{ failure() }} + if: ${{ failure() && (!inputs.test_run || inputs.nightly_release) }} needs: [