From d6c5c7341bbffccf1ca68c253e1bdb4e8b25bce0 Mon Sep 17 00:00:00 2001 From: POPPIN-FUMI Date: Tue, 7 Nov 2023 10:15:03 +0100 Subject: [PATCH] update tweet actions flow --- .github/workflows/discord.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/discord.yml b/.github/workflows/discord.yml index a2b6a97d..420ac8df 100644 --- a/.github/workflows/discord.yml +++ b/.github/workflows/discord.yml @@ -35,10 +35,8 @@ jobs: DISCORD_TOKEN_LABO: ${{ secrets.DISCORD_TOKEN_LABO }} LABO_SKEET_CHANNEL_ID: ${{ secrets.LABO_SKEET_CHANNEL_ID }} - name: Send package update notification + if: success() run: | curl --location ${{ secrets.TW_ENDPOINT }} \ --header 'Content-Type: application/json' \ - --data '{ - "repo": "elsoul/skeet-cli", - "hey": "${{ secrets.TW_ENDPOINT_SECRET }}" - }' + --data '{"repo": "elsoul/skeet-cli", "hey": "${{ secrets.TW_ENDPOINT_SECRET }}"}'