Skip to content

Commit 2e37df7

Browse files
authored
build: Announce releases in Discord (eslint#136)
1 parent 67d2647 commit 2e37df7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release-please.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4646

4747
- name: Post release announcement
48-
run: npx @humanwhocodes/crosspost -t -b -m --file social-post.txt
48+
run: npx @humanwhocodes/crosspost -t -b -m --discord-webhook --file social-post.txt
4949
if: ${{ steps.release.outputs.release_created }}
5050
env:
5151
TWITTER_API_CONSUMER_KEY: ${{ secrets.TWITTER_CONSUMER_KEY }}
@@ -57,3 +57,4 @@ jobs:
5757
BLUESKY_IDENTIFIER: ${{ vars.BLUESKY_IDENTIFIER }}
5858
BLUESKY_PASSWORD: ${{ secrets.BLUESKY_PASSWORD }}
5959
BLUESKY_HOST: ${{ vars.BLUESKY_HOST }}
60+
DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }}

0 commit comments

Comments
 (0)