Add GitHub Actions workflow for Cloudarix deployment
All checks were successful
Trigger Cloudarix Deploy / call-webhook (push) Successful in 1s

This commit is contained in:
Ahmed Darrazi 2025-12-05 22:49:38 +01:00
parent 76b83c178c
commit f15a5188dc

21
.github/workflows/deploy.yml vendored Normal file
View File

@ -0,0 +1,21 @@
name: Trigger Cloudarix Deploy
on:
push:
branches:
- main
workflow_dispatch:
jobs:
call-webhook:
runs-on: [cloudarix]
container:
image: curlimages/curl:latest
steps:
- name: Send deploy webhook
run: |
curl -X POST \
-H "X-Gitea-Event: Push Hook" \
-H "Content-Type: application/json" \
-d '{"ref": "refs/heads/main"}' \
https://system.cloudarix.de/api/deploy/compose/_l_ePUdFazL1iMsPkhopQ