Skip to content

Commit 507dc1b

Browse files
authored
Create deploy-trigger.yml
1 parent 831111e commit 507dc1b

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Trigger deploys in drydock
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Trigger Workflow in Another Repository
11+
run: |
12+
curl -L \
13+
-X POST \
14+
-H "Accept: application/vnd.github+json" \
15+
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
16+
https://api.github.com/repos/brownplt/pyret-drydock/dispatches \
17+
-d "{\"event_type\": \"trigger-workflow\", \"client_payload\": {\"message\": \"ahoy\"}}"

0 commit comments

Comments
 (0)