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

This commit is contained in:
Flook 2025-01-31 23:01:04 +07:00
parent 358deb7710
commit 71082bf284
2 changed files with 4 additions and 6 deletions

View File

@ -10,9 +10,7 @@ steps:
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" "$WEBHOOK_URL"'
trigger:
branch:
- master
- 'curl -X POST -H "Content-Type: application/json" -H "Authorization: Bearer $WEBHOOK_SECRET" -d "{\"branch\":\"master\"}" "$WEBHOOK_URL"'

View File

@ -2,7 +2,7 @@ function App() {
return (
<div className="flex flex-col items-center justify-center min-h-screen py-2">
<h1 className="text-3xl font-bold underline text-center">สวสด! CI/CD ตโนมสำเร</h1>
<h1 className="text-3xl font-bold underline text-center">สวสด! ทดสอบ CI/CD ตโนมสำเร</h1>
</div>
)
}