This commit is contained in:
parent
2370bd9540
commit
358deb7710
@ -6,14 +6,12 @@ steps:
|
||||
- name: Deploy to Server
|
||||
image: curlimages/curl:latest
|
||||
environment:
|
||||
WEBHOOK_URL:
|
||||
WEBHOOK_URL:
|
||||
from_secret: WEBHOOK_URL
|
||||
WEBHOOK_SECRET:
|
||||
WEBHOOK_SECRET:
|
||||
from_secret: WEBHOOK_SECRET
|
||||
commands:
|
||||
- echo "Deploying to server..."
|
||||
- echo "$WEBHOOK_URL"
|
||||
- "curl -X POST -H 'Content-Type: application/json' -H 'Authorization: Bearer ${WEBHOOK_SECRET}' ${WEBHOOK_URL}"
|
||||
- 'curl -X POST -H "Content-Type: application/json" -H "Authorization: Bearer $WEBHOOK_SECRET" "$WEBHOOK_URL"'
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user