Skip to content

Update README.md

Update README.md #21

Workflow file for this run

name: Discord
on:
- push
jobs:
disord_test_message:
runs-on: ubuntu-latest
name: discord commits
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Send message to discord
uses: ./ # Uses an action in the root directory
with:
webhook: ${{ secrets.DISCORD_WEBHOOK }}
template: 'avatar-with-link'
include-extras: true
# 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"} }'
# last-commit-only: true