Skip to content

Commit

Permalink
Update publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Noggog authored Oct 15, 2020
1 parent 3daee9e commit f35b794
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,14 @@ jobs:
file: Synthesis.Bethesda.GUI/bin/Release/netcoreapp3.1/win-x64/publish/Synthesis.exe
repo_token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.event.release.tag_name }}
notification:
runs-on: ubuntu-latest
needs: release
steps:
- name: Discord notification
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
uses: Ilshidur/action-discord@0.3.0
with:
args: '**Synthesis v{{ EVENT_PAYLOAD.release.tag_name }}**\n{{ EVENT_PAYLOAD.release.body }}'

#notification:
# runs-on: ubuntu-latest
# needs: release
# steps:
# - name: Discord notification
# env:
# DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
# uses: Ilshidur/action-discord@0.3.0
# with:
# args: '**Synthesis v{{ EVENT_PAYLOAD.release.tag_name }}**\n{{ EVENT_PAYLOAD.release.body }}'

0 comments on commit f35b794

Please sign in to comment.