mirror of
https://github.com/wled/WLED.git
synced 2025-04-19 12:27:17 +00:00
update secrets syntax for pr-merge action
This commit is contained in:
parent
c8c3fc2bcc
commit
ebba1f78ab
4
.github/workflows/pr-merge.yaml
vendored
4
.github/workflows/pr-merge.yaml
vendored
@ -8,6 +8,8 @@
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Send Discord notification
|
||||
env:
|
||||
DISCORD_WEBHOOK_BETA_TESTERS: ${{ secrets.DISCORD_WEBHOOK_BETA_TESTERS }}
|
||||
if: github.event.pull_request.merged == true
|
||||
run: |
|
||||
curl -H "Content-Type: application/json" -d '{"content": "Pull Request #{{ github.event.pull_request.number }} merged by {{ github.actor }}"}' ${{ secrets.DISCORD_WEBHOOK_BETA_TESTERS }}
|
||||
curl -H "Content-Type: application/json" -d '{"content": "Pull Request #{{ github.event.pull_request.number }} merged by {{ github.actor }}"}' $env:DISCORD_WEBHOOK_BETA_TESTERS
|
||||
|
Loading…
x
Reference in New Issue
Block a user