-
Notifications
You must be signed in to change notification settings - Fork 1
23 lines (20 loc) · 1005 Bytes
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
name: Deploy
# Controls when the action will run. Workflow runs when manually triggered using the UI or API.
on:
# Trigger the workflow on push or pull request,
# but only for the master branch
push:
branches: [ main ]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
test_commentary:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Runs a single command using the runners shell
- name: Webhook
uses: zzzze/webhook-trigger@v1.0.0
with:
webhook_url: "https://pleskw.nspmanaged.com:8443/modules/git/public/web-hook.php?uuid=4b444369-d9d4-df0b-51f7-5666ab1780aa"
json: '{ "repository": "${{github.event.repository.full_name}}", "number": "${{github.event.number}}", "created_at": "${{github.event.pull_request.created_at}}", "updated_at": "${{github.event.pull_request.updated_at}}" }'