Skip to content

Commit

Permalink
chore: updated README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
SethCohen committed Aug 25, 2022
1 parent c240910 commit ce7fc4a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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.
Expand Down

0 comments on commit ce7fc4a

Please sign in to comment.