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

16 lines
444 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
BRANCH:
from_secret: BRANCH
commands:
- 'curl -X POST -H "Content-Type: application/json" -H "Authorization: Bearer $WEBHOOK_SECRET" -d "{\"branch\":\"master\"}" "$WEBHOOK_URL"'