🎨 修改格式plugins.json #7
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: Force Sync to Gitee | |
on: | |
push: | |
branches: ["main"] | |
jobs: | |
sync: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Configure Git | |
run: | | |
git config --global http.postBuffer 524288000 | |
git config --global core.compression 0 | |
- name: Add Gitee remote | |
run: | | |
git remote add gitee https://two_Dimension:${{ secrets.GITEE_TOKEN }}@gitee.com/two_Dimension/zhenxun_bot_plugins.git | |
git fetch gitee main --force # 强制更新本地引用 | |
- name: Force push | |
run: git push --progress --force gitee HEAD:main | |
env: | |
GIT_TRACE: 1 | |
GIT_CURL_VERBOSE: 1 |