26 lines
616 B
YAML
26 lines
616 B
YAML
on:
|
|
schedule:
|
|
- cron: "0,20,40 * * * *"
|
|
workflow_dispatch:
|
|
|
|
permissions: write-all
|
|
|
|
jobs:
|
|
pull_remote:
|
|
name: mirror shenjack.top
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: just checkout
|
|
uses: actions/checkout@v4
|
|
with:
|
|
token: ${{ secrets.WORK_TOKEN }}
|
|
|
|
- name: clone remote
|
|
shell: bash
|
|
run: |
|
|
git config --global user.email 3695888@qq.com
|
|
git config --global user.name shenjack-action
|
|
git remote add gitea http://shenjack.top:5100/ARS/ars-tools.git
|
|
git fetch gitea
|
|
git push origin --mirror
|