CI: use environment/from_secret (Woodpecker 3 syntax)
This commit is contained in:
+2
-2
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user