Skip to content

Commit

Permalink
Feat/sync docs (#1088)
Browse files Browse the repository at this point in the history
Co-authored-by: lcx01800250 <[email protected]>
  • Loading branch information
lcxadml and lcx01800250 authored Jan 20, 2024
1 parent 0162dee commit 425f4ab
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/sync-docs.yaml
Original file line number Diff line number Diff line change
@@ -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 }}"}'

0 comments on commit 425f4ab

Please sign in to comment.