fix(other): 🐛 Added checks for constraints and made it start with the… #404
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Discord Notification | |
on: | |
push: | |
branches: | |
- '**' | |
jobs: | |
notify-discord: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '21' | |
- name: Install dependencies | |
run: npm install discord.js | |
- name: Notify Discord | |
run: | | |
node .github/scripts/notifyDiscord.js | |
env: | |
DISCORD_TOKEN: ${{ secrets.DISCORD_TOKEN }} |