From 5215f8d082761d9e03c9c1d1acd625925cd399c7 Mon Sep 17 00:00:00 2001 From: Maxim Vershinin Date: Tue, 18 Aug 2026 13:36:29 +0400 Subject: [PATCH] CHANGE: adds new webhooks to the gitea action --- .gitea/workflows/deploy_new_config.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/deploy_new_config.yaml b/.gitea/workflows/deploy_new_config.yaml index 75f9e4e..a338fe7 100644 --- a/.gitea/workflows/deploy_new_config.yaml +++ b/.gitea/workflows/deploy_new_config.yaml @@ -16,6 +16,12 @@ jobs: if: github.event.pull_request.merged == true runs-on: ubuntu-latest steps: - - name: Trigger the webhook to start pulling new Ansible configs - # LAN IP is used because those hosts are in the same network + - name: Trigger the webhook to start pulling the latest version from the repo + # LAN IP is used because those hosts are in the same network + run: curl "http://192.168.0.38:9000/hooks/pull-latest" + + - name: Trigger the webhook to update python and ansible modules + run: curl "http://192.168.0.38:9000/hooks/run-update-script" + + - name: Trigger the webhook to run the playbook run: curl "http://192.168.0.38:9000/hooks/run-maintain-playbook"