Skip to content

2.4.26

2.4.26 #57

name: Send Discord Webhook
on:
release:
types: [published]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Node.js environment
uses: actions/[email protected]
with:
node-version: 14.18.1
check-latest: true
- name: Execute Discord webhook script
run: node discord_hook.js
env:
DISCORD_HOOK_ID: ${{ secrets.DISCORD_HOOK_ID }}
DISCORD_HOOK_TOKEN: ${{ secrets.DISCORD_HOOK_TOKEN }}
MSG_EDIT_ID: ${{ secrets.MSG_EDIT_ID }}