CI: use environment/from_secret (Woodpecker 3 syntax)

This commit is contained in:
2026-10-21 06:32:06 +00:00
parent 83bb394a84
commit 8d548ea247
+2 -2
View File
@@ -3,10 +3,10 @@ when:
branch: trunk
steps:
- name: deploy
deploy:
image: curlimages/curl:latest
environment:
DEPLOY_URL:
from_secret: DEPLOY_URL
commands:
- curl -fsS -X POST "$DEPLOY_URL"
- curl -fsS -X POST "$${DEPLOY_URL}" -H "Content-Length: 0"