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