chore: updated README.md

This commit is contained in:
SethCohen
2022-08-24 21:17:31 -04:00
parent c240910f89
commit ce7fc4a3be
+4 -4
View File
@@ -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:
![](https://support.discord.com/hc/article_attachments/1500000463501/Screen_Shot_2020-12-15_at_4.41.53_PM.png)
![](https://support.discord.com/hc/article_attachments/360101553853/Screen_Shot_2020-12-15_at_4.51.38_PM.png)
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.
![](https://i.imgur.com/hAaNOds.png)
5. Save the secret.
6. Add the secret to your action configuration.