Skip to content

Commit

Permalink
Prince/ updated slack webhook URL (deriv-com#9661)
Browse files Browse the repository at this point in the history
* chore: updated slack webhook URL

* chore: updated slack webhook URL
  • Loading branch information
prince-deriv authored Aug 10, 2023
1 parent 5995349 commit f70fadb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/push_and_pull_crowdin_translations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.TRANSLATIONS_SLACK_WEBHOOK }}" ]; then
if [ -n "${{ secrets.ANNOUNCE_TRANSLATION_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.TRANSLATIONS_SLACK_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.ANNOUNCE_TRANSLATION_WEBHOOK }}
fi
fi
Expand All @@ -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.TRANSLATIONS_SLACK_WEBHOOK }}" ]; then
if [ -n "${{ secrets.ANNOUNCE_TRANSLATION_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.TRANSLATIONS_SLACK_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.ANNOUNCE_TRANSLATION_WEBHOOK }}
fi
fi
Expand Down

0 comments on commit f70fadb

Please sign in to comment.