ทดสอบ CI/CD
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Flook 2025-04-17 03:57:03 +07:00
parent c359783d22
commit 72c5743a68

View File

@ -1,9 +1,16 @@
kind: pipeline kind: pipeline
type: docker type: docker
name: test-pipeline name: default
steps: steps:
- name: say-hello - name: Deploy to Server
image: alpine image: curlimages/curl:latest
environment:
WEBHOOK_URL:
from_secret: WEBHOOK_URL
WEBHOOK_SECRET:
from_secret: WEBHOOK_SECRET
BRANCH:
from_secret: BRANCH
commands: commands:
- echo "Hello from Drone CI!" - 'curl -X POST -H "Content-Type: application/json" -H "Authorization: Bearer $WEBHOOK_SECRET" -d "{\"branch\":\"master\"}" "$WEBHOOK_URL"'