Add GitHub Actions workflow for Cloudarix deployment
All checks were successful
Trigger Cloudarix Deploy / call-webhook (push) Successful in 1s
All checks were successful
Trigger Cloudarix Deploy / call-webhook (push) Successful in 1s
This commit is contained in:
parent
76b83c178c
commit
f15a5188dc
21
.github/workflows/deploy.yml
vendored
Normal file
21
.github/workflows/deploy.yml
vendored
Normal 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
|
||||
Loading…
Reference in New Issue
Block a user