mirror of
https://github.com/alibaba/higress.git
synced 2026-04-21 12:07:26 +08:00
40 lines
1.1 KiB
YAML
40 lines
1.1 KiB
YAML
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
|