mirror of
https://github.com/SethCohen/github-releases-to-discord
synced 2026-09-14 20:13:23 +00:00
chore: updated README.md
This commit is contained in:
@@ -16,20 +16,20 @@ A GitHub action that parses a GitHub release and posts it to a Discord channel a
|
||||
|
||||
## Example Usage
|
||||
|
||||
`.github/workflows/github-release-to-discord.yml`
|
||||
`.github/workflows/github-releases-to-discord.yml`
|
||||
```yaml
|
||||
on:
|
||||
release:
|
||||
types: [published]
|
||||
|
||||
jobs:
|
||||
github-release-to-discord:
|
||||
github-releases-to-discord:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
- name: Github Releases To Discord
|
||||
uses: SethCohen/github-release-to-discord@v1.12.0
|
||||
uses: SethCohen/github-releasse-to-discord@v1.13.0
|
||||
with:
|
||||
webhook_url: ${{ secrets.WEBHOOK_URL }}
|
||||
color: "2105893"
|
||||
@@ -43,7 +43,7 @@ jobs:
|
||||

|
||||

|
||||
3. Copy the webhook url
|
||||
4. Create a new Github repository secret called WEBHOOK_URL and paste the webhook url into it.
|
||||
4. Create a new GitHub repository secret called WEBHOOK_URL and paste the webhook url into it.
|
||||

|
||||
5. Save the secret.
|
||||
6. Add the secret to your action configuration.
|
||||
|
||||
Reference in New Issue
Block a user