File tree Expand file tree Collapse file tree 1 file changed +9
-13
lines changed
Expand file tree Collapse file tree 1 file changed +9
-13
lines changed Original file line number Diff line number Diff line change 88 if : ${{ github.repository == 'Tencent/tdesign-vue-next-starter' && github.event_name == 'push' }}
99 runs-on : ubuntu-latest
1010 steps :
11- - uses : actions/checkout@v4
11+ - uses : actions/checkout@v6
1212 with :
1313 fetch-depth : 0
14-
14+
1515 - name : Sync to CNB Repository
16- run : |
17- docker run --rm \
18- -v ${{ github.workspace }}:${{ github.workspace }} \
19- -w ${{ github.workspace }} \
20- -e PLUGIN_TARGET_URL="https://cnb.cool/tencent/tdesign/tdesign-vue-next-starter.git" \
21- -e PLUGIN_AUTH_TYPE="https" \
22- -e PLUGIN_USERNAME="cnb" \
23- -e PLUGIN_PASSWORD=${{ secrets.CNB_TOKEN }} \
24- -e PLUGIN_PUSH_TAGS="true" \
25- -e PLUGIN_FORCE="true" \
26- tencentcom/git-sync
16+ uses : docker://tencentcom/git-sync
17+ env :
18+ PLUGIN_TARGET_URL : " https://cnb.cool/tencent/tdesign/tdesign-vue-next-starter.git"
19+ PLUGIN_AUTH_TYPE : " https"
20+ PLUGIN_USERNAME : " cnb"
21+ PLUGIN_PASSWORD : ${{ secrets.CNB_TOKEN }}
22+ PLUGIN_FORCE : " true"
2723
2824 sync-delete-branch :
2925 if : ${{ github.repository == 'Tencent/tdesign-vue-next-starter' && github.event_name == 'delete' && github.event.ref_type == 'branch' }}
You can’t perform that action at this time.
0 commit comments