mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-08-31 16:39:48 +00:00
Feat/sync docs (#1088)
Co-authored-by: lcx01800250 <lcx01800250@alibaba-inc.com>
This commit is contained in:
20
.github/workflows/sync-docs.yaml
vendored
Normal file
20
.github/workflows/sync-docs.yaml
vendored
Normal 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 }}"}'
|
Reference in New Issue
Block a user