Skip to content

Commit

Permalink
chore: discord notifier env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
xobotyi committed May 24, 2021
1 parent d6b1906 commit 665d454
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ jobs:
steps:
- uses: fastify/github-action-merge-dependabot@v2.0.0
with:
github-token: ${{secrets.GITHUB_TOKEN}}
github-token: ${{ secrets.GITHUB_TOKEN }}

semantic-release:
name: "Release"
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/discord-release-notify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ jobs:
name: "Notify"
runs-on: ubuntu-latest
steps:
- id: rhw-release
uses: pozetroninc/github-action-get-latest-release@master
with:
owner: react-hookz
repo: web
excludes: prerelease, draft
- name: Discord notification
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
uses: Ilshidur/action-discord@master
with:
args: "🆕 New release published\n\n{{ EVENT_PAYLOAD.release.name }}\n{{ EVENT_PAYLOAD.release.body }}\n\n{{ EVENT_PAYLOAD.release.url }}"
args: |
🎊 New release published 🎊
${{ github.event.release.name }}
${{ github.event.release.body }}
${{ github.event.release.url }}"

0 comments on commit 665d454

Please sign in to comment.