CI: use environment/from_secret (Woodpecker 3 syntax)
This commit is contained in:
+2
-2
@@ -3,10 +3,10 @@ when:
|
|||||||
branch: trunk
|
branch: trunk
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: deploy
|
deploy:
|
||||||
image: curlimages/curl:latest
|
image: curlimages/curl:latest
|
||||||
environment:
|
environment:
|
||||||
DEPLOY_URL:
|
DEPLOY_URL:
|
||||||
from_secret: DEPLOY_URL
|
from_secret: DEPLOY_URL
|
||||||
commands:
|
commands:
|
||||||
- curl -fsS -X POST "$DEPLOY_URL"
|
- curl -fsS -X POST "$${DEPLOY_URL}" -H "Content-Length: 0"
|
||||||
|
|||||||
Reference in New Issue
Block a user