Skip to content

Commit 0b9976a

Browse files
committed
Trigger workflow using cURL
1 parent 3d1d5ce commit 0b9976a

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/run-tests.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,11 @@ jobs:
4747
run: vendor/bin/phpunit
4848

4949
- name: Trigger site workflow
50-
uses: hotwired-laravel/turbo-laravel-site/.github/workflows/publish.yml@main
50+
run: |
51+
curl -L \
52+
-X POST \
53+
-H "Accept: application/vnd.github+json" \
54+
-H "Authorization: Bearer ${{ secrets.WORKFLOW_PAT }}" \
55+
-H "X-GitHub-Api-Version: 2022-11-28" \
56+
-d '{"event_type":"publish-workflow"}' \
57+
https://api.github.com/repos/hotwired-laravel/turbo-laravel-site/actions/workflows/publish.yml/dispatches

0 commit comments

Comments
 (0)