Skip to content

Dispatch workflow event #1

Dispatch workflow event

Dispatch workflow event #1

Workflow file for this run

name: Dispatch workflow event
on: [workflow_dispatch]
jobs:
dispatch_event:
runs-on: ubuntu-latest
steps:
- name: Post dispatch
run: |
curl -X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.CLIENT_WEBHOOK_TOKEN }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/ouvroir/website/actions/workflows/deploy.yml/dispatches \
-d '{"ref":"main"}'