Skip to content

Commit 7df8d27

Browse files
feat: new env var getting way
1 parent 6d68090 commit 7df8d27

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎.github/workflows/release_notice.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ jobs:
1616
id: slack
1717
uses: slackapi/slack-github-action@v4.0.0
1818
with:
19+
webhook: ${{ secrets.SLACK_RELEASE }}
20+
webhook-type: webhook-trigger
1921
# This data can be any valid JSON from a previous step in the GitHub Action
2022
payload: |
2123
{
@@ -25,8 +27,6 @@ jobs:
2527
"body": ${{ toJSON(github.event.release.body) }},
2628
"html_url": "${{ github.event.release.html_url }}"
2729
}
28-
env:
29-
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_RELEASE }}
3030
- name: Send custom JSON data to Discord
3131
uses: sarisia/actions-status-discord@v1.13.0
3232
with:

0 commit comments

Comments
 (0)