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