Add .gitea/workflows/send-post-updates.yml
All checks were successful
Push post module update to hugo reo / push-module-update (push) Successful in 12s
All checks were successful
Push post module update to hugo reo / push-module-update (push) Successful in 12s
This commit is contained in:
16
.gitea/workflows/send-post-updates.yml
Normal file
16
.gitea/workflows/send-post-updates.yml
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
name: Push post module update to hugo reo
|
||||||
|
on: push
|
||||||
|
jobs:
|
||||||
|
push-module-update:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- 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"
|
||||||
|
}'
|
Reference in New Issue
Block a user