Skip to content

Commit

Permalink
Tune it
Browse files Browse the repository at this point in the history
  • Loading branch information
alshakero committed Jul 23, 2024
1 parent d40784b commit 8fb48ff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/is-calypso-channel-green.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- run:
STATUS=$(curl -s https://public-api.wordpress.com/rest/v1.1/internal/calypso-slack-channel)
STATUS=$(curl -s https://public-api.wordpress.com/rest/v1.1/internal/calypso-slack-channel --header "Authorization: ${{ secrets.CALYPSO_CHANNEL_STATUS_API_SECRET }}")
echo $STATUS
if [ "$STATUS" = "GREEN" ]; then
echo "Calypso Slack channel is green."
exit 0
Expand Down

0 comments on commit 8fb48ff

Please sign in to comment.