parent
d2737f2d98
commit
c49c310418
1 changed files with 7 additions and 1 deletions
|
|
@ -31,9 +31,15 @@ steps:
|
|||
|
||||
deploy-to-stage:
|
||||
image: curlimages/curl:latest
|
||||
environment:
|
||||
# Key: The name in your script ($COOLIFY_STAGE_DEPLOY_TOKEN)
|
||||
# Value: The name of the secret in Woodpecker's UI
|
||||
COOLIFY_STAGE_DEPLOY_TOKEN:
|
||||
from_secret: COOLIFY_STAGE_DEPLOY_TOKEN
|
||||
COOLIFY_STAGE_DEPLOY_WEBHOOK:
|
||||
from_secret: COOLIFY_STAGE_DEPLOY_WEBHOOK
|
||||
commands:
|
||||
- |
|
||||
curl -H "Authorization: Bearer $${COOLIFY_STAGE_DEPLOY_TOKEN}" \
|
||||
-X POST \
|
||||
-F "image=registry.coolify1.workaround.org/debshots:${CI_COMMIT_SHA:0:7}" \
|
||||
"$${COOLIFY_STAGE_DEPLOY_WEBHOOK}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue