ci: use env from_secret to avoid parser issue
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
druid520
2026-10-20 03:14:58 +00:00
parent 782abfec92
commit 3494b36423
+5 -3
View File
@@ -3,8 +3,10 @@ when:
branch: trunk
steps:
deploy:
- name: deploy
image: curlimages/curl:latest
environment:
DEPLOY_URL:
from_secret: DEPLOY_URL
commands:
- curl -fsS -X POST "$WOODPECKER_DEPLOY_URL" -H "Content-Length: 0"
secrets: [ deploy_url ]
- "curl -fsS -X POST \"1DEPLOY_URL\""