From 10295fcf1d44e881aaebac9d9873f6e202de7a4d Mon Sep 17 00:00:00 2001 From: vinu-deriv <100689171+vinu-deriv@users.noreply.github.com> Date: Thu, 10 Aug 2023 17:44:51 +0400 Subject: [PATCH] Revert "Prince/ updated slack webhook URL (#9661)" (#9665) This reverts commit f70fadb6c245026f1afc2dfb23d9bb24e30f6676. --- .github/workflows/push_and_pull_crowdin_translations.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/push_and_pull_crowdin_translations.yml b/.github/workflows/push_and_pull_crowdin_translations.yml index 5339a42208af..f2ddf681bcb6 100644 --- a/.github/workflows/push_and_pull_crowdin_translations.yml +++ b/.github/workflows/push_and_pull_crowdin_translations.yml @@ -91,9 +91,9 @@ jobs: # Send a message to Slack (granted we have a webhook secret). # This check also allows a repo admin to disable the Slack message by removing the secret. - if [ -n "${{ secrets.ANNOUNCE_TRANSLATION_WEBHOOK }}" ]; then + if [ -n "${{ secrets.TRANSLATIONS_SLACK_WEBHOOK }}" ]; then echo "Sending message to Slack (#team_translations)" - curl -X POST -H 'Content-type: application/json' --data '{"text":"There are new or updated strings available for Deriv.app (https://crowdin.com/project/deriv-app)."}' ${{ secrets.ANNOUNCE_TRANSLATION_WEBHOOK }} + curl -X POST -H 'Content-type: application/json' --data '{"text":"There are new or updated strings available for Deriv.app (https://crowdin.com/project/deriv-app)."}' ${{ secrets.TRANSLATIONS_SLACK_WEBHOOK }} fi fi @@ -111,9 +111,9 @@ jobs: # Send a message to Slack (granted we have a webhook secret). # This check also allows a repo admin to disable the Slack message by removing the secret. - if [ -n "${{ secrets.ANNOUNCE_TRANSLATION_WEBHOOK }}" ]; then + if [ -n "${{ secrets.TRANSLATIONS_SLACK_WEBHOOK }}" ]; then echo "Sending message to Slack (#team_translations)" - curl -X POST -H 'Content-type: application/json' --data '{"text":"There are new or updated strings available for DP2P (https://crowdin.com/project/deriv-app)."}' ${{ secrets.ANNOUNCE_TRANSLATION_WEBHOOK }} + curl -X POST -H 'Content-type: application/json' --data '{"text":"There are new or updated strings available for DP2P (https://crowdin.com/project/deriv-app)."}' ${{ secrets.TRANSLATIONS_SLACK_WEBHOOK }} fi fi