Dev to main #1

Merged
max merged 37 commits from dev into main 2026-08-17 16:15:03 +04:00
Showing only changes of commit fff5d61cce - Show all commits
+21
View File
@@ -0,0 +1,21 @@
name: Deploy new config to the Ansible server
run-name: Config is being deployed
on:
pull_request:
types: [closed]
branches: [ main ]
env:
REGISTRY: git.vmn.su
OWNER: max
REPO: vmn-ansible
jobs:
trigger-webhook:
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
run: curl "http://192.168.0.38:9000/hooks/run-maintain-playbook"