🎥 Make videos programmatically with React
Add discord webhook
Jonny Burgera4dd4c68d387
diff --git a/.github/workflows/discord.yml b/.github/workflows/discord.ymlnew file mode 100644index 0000000000..a95bbf80a2--- /dev/null+++ b/.github/workflows/discord.yml@@ -0,0 +1,16 @@+name: Discord notifications++on: [push, pull_request_target]++jobs:+ notify_discord:+ runs-on: ubuntu-20.04+ if: always() && github.repository == 'remotion-dev/serenity' && (github.event_name == 'pull_request_target' || (github.event_name == 'push' && github.ref == 'refs/heads/main'))++ steps:+ - name: Discord action notification+ env:+ DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}+ CUSTOM_GITHUB_EVENT_NAME: ${{ github.event_name == 'pull_request_target' && 'pull_request' || github.event_name }} # fake the event type as discord doesn't know how to parse the special pull_request_target context+ uses: IdanHo/action-discord@754598254f288e6d8e9fca637832e3c163515ba8+ if: ${{ (github.event['pull_request'] && github.event['action'] == 'opened') || github.event['commits'] }}