Skip to content

Revert "test commit" #4

Revert "test commit"

Revert "test commit" #4

Workflow file for this run

name: Push Commits to Discord Webhook
on:
push:
paths-ignore:
- '.github/**'
jobs:
Discord_Notification:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Use Node 12.x
uses: actions/setup-node@v1
with:
node-version: 12.x
- name: Install NPM Dependencies (prod)
run: npm install --frozen-lockfile --production
- name: Discord Commits
uses: Sniddl/[email protected]
with:
webhook: ${{ secrets.DISCORD_WEBHOOK }}
message: "Successful commit to **{{ github.context.payload.repository.owner.name }}/{{ github.context.payload.repository.name}}**.\nDiff: {{ github.context.payload.compare }}"
embed: '{ "title": "{{ commit.title }}", "description": "{{ commit.description }}", "url": "{{ commit.url }}", "author": { "name": "{{ commit.author.name }} ({{ commit.author.username }})", "icon_url": "https://github.com/{{ commit.author.username }}.png"} }'