mirror of
https://github.com/certd/certd.git
synced 2026-04-24 12:27:25 +08:00
chore: webhook修改为隐藏变量,避免别人fork后触发我的流水线
This commit is contained in:
@@ -44,7 +44,8 @@ jobs:
|
|||||||
- name: deploy-certd-demo
|
- name: deploy-certd-demo
|
||||||
uses: tyrrrz/action-http-request@master
|
uses: tyrrrz/action-http-request@master
|
||||||
with:
|
with:
|
||||||
url: http://flow-openapi.aliyun.com/pipeline/webhook/lzCzlGrLCOHQaTMMt0mG
|
# 通过webhook 触发 certd-demo来部署
|
||||||
|
url: ${{ secrets.WEBHOOK_CERTD_DEMO }}
|
||||||
method: POST
|
method: POST
|
||||||
headers: |
|
headers: |
|
||||||
Content-Type: application/json
|
Content-Type: application/json
|
||||||
|
|||||||
@@ -121,10 +121,12 @@ jobs:
|
|||||||
- name: deploy-certd-doc
|
- name: deploy-certd-doc
|
||||||
uses: tyrrrz/action-http-request@master
|
uses: tyrrrz/action-http-request@master
|
||||||
with:
|
with:
|
||||||
url: http://flow-openapi.aliyun.com/pipeline/webhook/IiSxLDp9aOhgDUxJPytv
|
url: ${{ secrets.WEBHOOK_CERTD_DOC }}
|
||||||
method: POST
|
method: POST
|
||||||
body: |
|
body: |
|
||||||
{}
|
{
|
||||||
|
"CERTD_VERSION": "1.0.0"
|
||||||
|
}
|
||||||
headers: |
|
headers: |
|
||||||
Content-Type: application/json
|
Content-Type: application/json
|
||||||
retry-count: 3
|
retry-count: 3
|
||||||
|
|||||||
Reference in New Issue
Block a user