Files
hugo-richard-posts/.gitea/workflows/send-post-updates.yml
Workflow config file is invalid. Please check your config file: yaml: line 9: could not find expected ':'

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"}'