Skip to content

[plutono] Plugin initialization (#283) #13

[plutono] Plugin initialization (#283)

[plutono] Plugin initialization (#283) #13

Workflow file for this run

name: Trigger Hugo Workflow
on:
workflow_dispatch: {}
push:
branches:
- main
paths:
- '**/README.md'
jobs:
trigger:
runs-on: [ default ]
steps:
- name: Trigger Hugo Workflow in Greenhouse Repository
run: |
repo_name="greenhouse"
event_type="trigger-workflow"
curl -L \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.PAT }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/${{ github.repository_owner }}/$repo_name/dispatches \
-d "{\"event_type\": \"$event_type\"}"