kopia lustrzana https://github.com/Aircoookie/WLED
update secrets syntax for pr-merge action
rodzic
c8c3fc2bcc
commit
ebba1f78ab
|
@ -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
|
||||
|
|
Ładowanie…
Reference in New Issue