Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
hanans426 committed Nov 9, 2023
1 parent 807939b commit 4010e70
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: mkdocs-build

name: build
on:
push:
branches:
Expand All @@ -14,3 +15,8 @@ jobs:
- run: pip install mkdocs
- run: pip install mkdocs-aliyun-computenest
- run: mkdocs gh-deploy --force --clean --verbose
- run: |
full_repo_name="${{ github.repository }}"
repo_name=${full_repo_name#*/}
curl -X POST -H "Content-Type: application/json" -d "{"ServiceDocRepoNames":["${repo_name}"]}" "http://1119821156893882.eventbridge.ap-southeast-1.aliyuncs.com/webhook/putEvents?token=d7ae8f64e0ce42c7b757f9013e3bbd13920fe8ea7c2b4d2cb3d2e8e9dfbd4230afc9f9dfb37448448e416da1a85dc2fc81627b00fecd4909bb47e536833d1bae"

0 comments on commit 4010e70

Please sign in to comment.