Skip to content

Commit

Permalink
Notify workflow (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
nkrusch authored Aug 13, 2023
1 parent 376dda7 commit 123d564
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/notify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ jobs:
echo "mla=$(sed -n '2p' ./data/desc.txt)" >> $GITHUB_OUTPUT
- name: Discord notification
if: ${{ DISCORD_WEBHOOK != '' }}
if: ${{ env.DISCORD_WEBHOOK != '' }}
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK_URL }}
uses: Ilshidur/action-discord@master
with:
args: "Next paper: ${{ steps.vars.outputs.title }}\n\n${{ steps.vars.outputs.mla }}"

- name: Send custom JSON data to Slack workflow
if: ${{ SLACK_WEBHOOK_URL != '' }}
if: ${{ env.SLACK_WEBHOOK_URL != '' }}
id: slack
uses: slackapi/[email protected]
with:
Expand Down

0 comments on commit 123d564

Please sign in to comment.