24 lines
658 B
YAML
24 lines
658 B
YAML
on:
|
|
schedule:
|
|
- cron: "0,20,40 * * * *"
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: write
|
|
|
|
jobs:
|
|
pull_remote:
|
|
name: mirror shenjack.top
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: clone remote
|
|
shell: pwsh
|
|
run: |
|
|
git config --global user.email 3695888@qq.com
|
|
git config --global user.name shenjack-action
|
|
git clone --bare http://shenjack.top:5100/ARS/ars-tools.git
|
|
cd ars-tools.git
|
|
git remote add git https://github.com/shenjackyuanjie/ars-tools.git
|
|
git push git * --force
|
|
# git push --mirror https://github.com/shenjackyuanjie/ars-tools.git
|
|
|