mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-29 18:55:49 +00:00
Update dist-1.yml
This commit is contained in:
parent
6037f7db6a
commit
b55f8f3d17
1 changed files with 14 additions and 5 deletions
19
.github/workflows/dist-1.yml
vendored
19
.github/workflows/dist-1.yml
vendored
|
@ -10,8 +10,17 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Repository Dispatch
|
||||
uses: peter-evans/repository-dispatch@v1
|
||||
with:
|
||||
token: ${{ secrets.MY_PAT }}
|
||||
event-type: my-event
|
||||
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}", "test": "test message"}'
|
||||
run: |
|
||||
curl \
|
||||
-H "Authorization: token :token" \
|
||||
-H "Accept: application/vnd.github+json" \
|
||||
"https://api.github.com/repos/:user/:repo/dispatches" \
|
||||
-d '{
|
||||
"event_type": "awesomeness",
|
||||
"client_payload": {"ref": "${{ github.ref }}", "sha": "${{ github.sha }}", "test": "test message"}}'
|
||||
|
||||
# uses: peter-evans/repository-dispatch@v1
|
||||
# with:
|
||||
# token: ${{ secrets.MY_PAT }}
|
||||
# event-type: my-event
|
||||
# client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}", "test": "test message"}'
|
||||
|
|
Loading…
Reference in a new issue