mirror!
This commit is contained in:
parent
90bb5ba1c9
commit
976a391e58
14
.github/workflows/mirror.yml
vendored
14
.github/workflows/mirror.yml
vendored
@ -15,11 +15,19 @@ jobs:
|
||||
with:
|
||||
token: ${{ secrets.WORK_TOKEN }}
|
||||
|
||||
- name: clone remote
|
||||
shell: bash
|
||||
- name: set git config
|
||||
run: |
|
||||
git config --global user.email 3695888@qq.com
|
||||
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 fetch gitea
|
||||
|
||||
- name: fetch from remote
|
||||
run: |
|
||||
git fetch gitea '*:*'
|
||||
|
||||
- name: push to origin
|
||||
run: |
|
||||
git push origin --mirror
|
||||
|
Loading…
Reference in New Issue
Block a user