This commit is contained in:
parent
358deb7710
commit
71082bf284
@ -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"'
|
||||
@ -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>
|
||||
)
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user