opengis/.drone.yml
Flook 54f2cb8b24
All checks were successful
continuous-integration/drone/push Build is passing
ทดสอบ CI/CD
2025-01-31 23:10:45 +07:00

14 lines
399 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: Deploy to Server
image: curlimages/curl:latest
environment:
WEBHOOK_URL:
from_secret: WEBHOOK_URL
WEBHOOK_SECRET:
from_secret: WEBHOOK_SECRET
commands:
- 'curl -X POST -H "Content-Type: application/json" -H "Authorization: Bearer $WEBHOOK_SECRET" -d "{\"branch\":\"master\"}" "$WEBHOOK_URL"'