From d4a066595767604b13642cb8567a05c2eff4bb50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BE=84=E6=BD=AD?= Date: Thu, 12 Feb 2026 18:15:03 +0800 Subject: [PATCH] feat: add GitHub Action to sync skills to OSS (#3481) --- .github/workflows/sync-skills-to-oss.yaml | 39 +++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .github/workflows/sync-skills-to-oss.yaml diff --git a/.github/workflows/sync-skills-to-oss.yaml b/.github/workflows/sync-skills-to-oss.yaml new file mode 100644 index 000000000..a5442f02f --- /dev/null +++ b/.github/workflows/sync-skills-to-oss.yaml @@ -0,0 +1,39 @@ +name: Sync Skills to OSS + +on: + push: + branches: + - main + paths: + - '.claude/skills/**' + workflow_dispatch: ~ + +jobs: + sync-skills-to-oss: + runs-on: ubuntu-latest + environment: + name: oss + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Download AI Gateway Install Script + run: | + wget -O install.sh https://raw.githubusercontent.com/higress-group/higress-standalone/main/all-in-one/get-ai-gateway.sh + chmod +x install.sh + + - name: Sync Skills to OSS + uses: go-choppy/ossutil-github-action@master + with: + ossArgs: 'cp -r -u .claude/skills/ oss://higress-ai/skills/' + accessKey: ${{ secrets.ACCESS_KEYID }} + accessSecret: ${{ secrets.ACCESS_KEYSECRET }} + endpoint: oss-cn-hongkong.aliyuncs.com + + - name: Sync Install Script to OSS + uses: go-choppy/ossutil-github-action@master + with: + ossArgs: 'cp install.sh oss://higress-ai/ai-gateway/install.sh' + accessKey: ${{ secrets.ACCESS_KEYID }} + accessSecret: ${{ secrets.ACCESS_KEYSECRET }} + endpoint: oss-cn-hongkong.aliyuncs.com