This commit is contained in:
parent
358deb7710
commit
71082bf284
@ -10,9 +10,7 @@ steps:
|
|||||||
from_secret: WEBHOOK_URL
|
from_secret: WEBHOOK_URL
|
||||||
WEBHOOK_SECRET:
|
WEBHOOK_SECRET:
|
||||||
from_secret: WEBHOOK_SECRET
|
from_secret: WEBHOOK_SECRET
|
||||||
|
BRANCH:
|
||||||
|
from_secret: BRANCH
|
||||||
commands:
|
commands:
|
||||||
- 'curl -X POST -H "Content-Type: application/json" -H "Authorization: Bearer $WEBHOOK_SECRET" "$WEBHOOK_URL"'
|
- 'curl -X POST -H "Content-Type: application/json" -H "Authorization: Bearer $WEBHOOK_SECRET" -d "{\"branch\":\"master\"}" "$WEBHOOK_URL"'
|
||||||
|
|
||||||
trigger:
|
|
||||||
branch:
|
|
||||||
- master
|
|
||||||
@ -2,7 +2,7 @@ function App() {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="flex flex-col items-center justify-center min-h-screen py-2">
|
<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>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user