This commit is contained in:
shenjack 2023-12-16 16:58:06 +08:00
parent 90bb5ba1c9
commit 976a391e58
Signed by: shenjack
GPG Key ID: 7B1134A979775551

View File

@ -15,11 +15,19 @@ jobs:
with: with:
token: ${{ secrets.WORK_TOKEN }} token: ${{ secrets.WORK_TOKEN }}
- name: clone remote - name: set git config
shell: bash
run: | run: |
git config --global user.email 3695888@qq.com git config --global user.email 3695888@qq.com
git config --global user.name shenjack-action git config --global user.name shenjack-action
- name: add remote repository
run: |
git remote add gitea http://shenjack.top:5100/ARS/ars-tools.git git remote add gitea http://shenjack.top:5100/ARS/ars-tools.git
git fetch gitea
- name: fetch from remote
run: |
git fetch gitea '*:*'
- name: push to origin
run: |
git push origin --mirror git push origin --mirror