From f15a5188dc3a79b68e014cb734fff993dbb3b7a6 Mon Sep 17 00:00:00 2001 From: Ahmed Darrazi Date: Fri, 5 Dec 2025 22:49:38 +0100 Subject: [PATCH] Add GitHub Actions workflow for Cloudarix deployment --- .github/workflows/deploy.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..1e0e8f2 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -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