File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -24,15 +24,14 @@ jobs:
2424 echo "files=$CHANGED_FILES" >> $GITHUB_OUTPUT
2525
2626 - name : Send Discord Notification
27- env :
28- DISCORD_WEBHOOK : ${{ secrets.DISCORD_WEBHOOK }}
2927 run : |
3028 COMMIT_MSG=$(echo '${{ github.event.head_commit.message }}' | sed 's/"/\\"/g' | head -c 1000)
3129 AUTHOR="${{ github.event.head_commit.author.name }}"
3230 SHORT_SHA="${{ github.sha }}"
3331 SHORT_SHA=${SHORT_SHA:0:7}
3432
3533 curl -H "Content-Type: application/json" \
34+ -X POST \
3635 -d "{\"embeds\": [{
3736 \"title\": \"🚀 FlockersDevHub Updated\",
3837 \"description\": \"New changes have been pushed to the website\",
5352 },
5453 \"timestamp\": \"$(date -u +%Y-%m-%dT%H:%M:%S.000Z)\"
5554 }]}" \
56- $DISCORD_WEBHOOK
55+ "${{ secrets.WEBHOOK }}"
You can’t perform that action at this time.
0 commit comments