opengis/.drone.yml
Flook 358deb7710
All checks were successful
continuous-integration/drone/push Build is passing
ทดสอบ CI/CD
2025-01-31 17:44:36 +07:00

18 lines
403 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" "$WEBHOOK_URL"'
trigger:
branch:
- master