16 lines
460 B
YAML
16 lines
460 B
YAML
when:
|
|
- event: push
|
|
branch: trunk
|
|
|
|
steps:
|
|
deploy:
|
|
image: curlimages/curl:latest
|
|
# Needs Dokploy on the internal network; allowed because an admin marked this repo "trusted network".
|
|
# Pipelines otherwise run on the isolated ci-net (internet + git.kg only).
|
|
network_mode: dokploy-network
|
|
environment:
|
|
DEPLOY_URL:
|
|
from_secret: DEPLOY_URL
|
|
commands:
|
|
- 'curl -fsS -X POST "$${DEPLOY_URL}" -H "Content-Length: 0"'
|