13 lines
568 B
YAML
13 lines
568 B
YAML
name: Push post module update to hugo reo
|
|
on: push
|
|
jobs:
|
|
push-module-update:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: trigger-hugo-richard-workflow
|
|
run: |
|
|
curl -X POST https://git.theoswalds.com/api/v1/repos/public/hugo-richard/actions/workflows/hugo-build.yml/dispatches \
|
|
-H 'accept: application/json' \
|
|
-H 'Authorization: token ${{ secret.PAT_TOKEN }}' \
|
|
-H 'Content-Type: application/json' \
|
|
-d '{"inputs": {}, "ref": "refs/heads/main"}' |