chore: webhook修改为隐藏变量,避免别人fork后触发我的流水线

This commit is contained in:
xiaojunnuo
2025-12-07 00:18:05 +08:00
parent 5cee7d44f1
commit c909aa161b
2 changed files with 6 additions and 3 deletions
+2 -1
View File
@@ -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
+4 -2
View File
@@ -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