Feat/sync docs (#1088)

Co-authored-by: lcx01800250 <lcx01800250@alibaba-inc.com>
This commit is contained in:
lcxadml
2024-01-20 10:09:35 +08:00
committed by GitHub
parent 0162dee474
commit 425f4ab48b

20
.github/workflows/sync-docs.yaml vendored Normal file
View File

@@ -0,0 +1,20 @@
name: Trigger Auto Publish
on:
push:
tags:
- "*"
jobs:
trigger-api:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Trigger Publish API
run: |
curl -X POST ${{secrets.PUBLISH_SECRET_API}} \
-H "Content-Type: application/json" \
-d '{"tag": "${{ github.ref }}"}'