Files
Momentum-Firmware/.github/workflows/webhook.yml
2024-10-10 01:51:24 +01:00

34 lines
662 B
YAML

name: "Webhook"
on:
push:
# workflow_run:
# workflows:
# - "Build"
# - "Lint"
# - "Release"
# types:
# - "completed"
# issues:
# types:
# - "opened"
# - "closed"
# - "reopened"
# issue_comment:
# types:
# - "created"
jobs:
webhook:
runs-on: ubuntu-latest
steps:
- name: "Checkout code"
uses: actions/checkout@v3
- name: Send webhook
env:
BUILD_WEBHOOK: ${{ secrets.BUILD_WEBHOOK }}
DEV_WEBHOOK: ${{ secrets.DEV_WEBHOOK }}
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
run: python .github/workflow_data/webhook.py