Skip to content

Commit 072dfd3

Browse files
committed
move bot script to src/index.js and update workflow
1 parent 7028d0f commit 072dfd3

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

.github/workflows/discord-bot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@ jobs:
3434
run: npm install
3535

3636
- name: Run Discord Bot Script
37-
run: node .github/scripts/discord-bot.js
37+
run: node src/index.js
3838
env:
3939
DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "github-discord-bot",
33
"version": "1.0.0",
44
"description": "Discord notification bot for GitHub Actions",
5-
"main": ".github/scripts/discord-bot.js",
5+
"main": "src/index.js",
66
"scripts": {
77
"test": "echo \"Error: no test specified\" && exit 1"
88
},

0 commit comments

Comments
 (0)