From 2ea72824a9b5e53274d06bfee918233fe2976d57 Mon Sep 17 00:00:00 2001 From: richardoswald Date: Mon, 9 Jun 2025 12:39:05 -0500 Subject: [PATCH] Add .gitea/workflows/send-post-updates.yml --- .gitea/workflows/send-post-updates.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .gitea/workflows/send-post-updates.yml diff --git a/.gitea/workflows/send-post-updates.yml b/.gitea/workflows/send-post-updates.yml new file mode 100644 index 0000000..2a69463 --- /dev/null +++ b/.gitea/workflows/send-post-updates.yml @@ -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" + }' \ No newline at end of file