docs(skills): require tos.py clean after editing app_default.config #25
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Sync to Gitee | |
| on: | |
| push: | |
| branches: ['**'] | |
| tags: ['**'] | |
| delete: | |
| jobs: | |
| sync: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Push to Gitee | |
| env: | |
| GITEE_TOKEN: ${{ secrets.GITEE_TOKEN }} | |
| run: | | |
| AUTH="Authorization: Basic $(printf 'flyingcys:%s' "$GITEE_TOKEN" | base64 -w 0)" | |
| REMOTE="https://gitee.com/tuya-open/TuyaOpen-dev-skills.git" | |
| echo "→ Syncing branches to Gitee…" | |
| git -c "http.https://gitee.com/.extraheader=$AUTH" push "$REMOTE" --all --force | |
| echo "→ Syncing tags to Gitee…" | |
| git -c "http.https://gitee.com/.extraheader=$AUTH" push "$REMOTE" --tags --force | |
| echo "✓ Gitee sync complete" |