Tracks updates in the changelogs of Svelte and SvelteKit repos and send a message in a dedicated channel on a Discord Server.
Note: Currently only tracking SvelteKit main repo
-
Create a Discord app, with its bot, using Discord web interface, then connect it to your server using the generated HTML link. Don't forget to give it message permissions.
-
Create a dedicated channel in your server.
-
Create the following environment variables in your repo:
DISCORD_BOT_TOKEN
: your bot's tokenDISCORD_CHANNEL_ID
: your channel's id
-
Use the action
Don't forget to
pnpm i
.
-
Copy-paste the
.env-template
file as.env
, and fill the different environment variables, as described earlier. -
Run
node index.js