We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7028d0f commit 072dfd3Copy full SHA for 072dfd3
.github/workflows/discord-bot.yml
@@ -34,6 +34,6 @@ jobs:
34
run: npm install
35
36
- name: Run Discord Bot Script
37
- run: node .github/scripts/discord-bot.js
+ run: node src/index.js
38
env:
39
DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }}
package.json
@@ -2,7 +2,7 @@
2
"name": "github-discord-bot",
3
"version": "1.0.0",
4
"description": "Discord notification bot for GitHub Actions",
5
- "main": ".github/scripts/discord-bot.js",
+ "main": "src/index.js",
6
"scripts": {
7
"test": "echo \"Error: no test specified\" && exit 1"
8
},
.github/scripts/discord-bot.js src/index.js.github/scripts/discord-bot.js renamed to src/index.js
0 commit comments