ZZZCloud-AutoCheckin/.github/workflows/MirrorSync.yml
GamerNoTitle 9f9d0a3519
Some checks are pending
SyncMirror / sync (push) Waiting to run
init: initialize the repo
2024-12-07 20:02:40 +08:00

21 lines
476 B
YAML

name: "SyncMirror"
on:
workflow_dispatch:
push:
jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: "Checkout codes"
uses: actions/checkout@v2
- name: "Sync"
id: commit
run: |
git fetch --unshallow
git checkout master
git remote add gitea https://${{ secrets.GITEA_USERNAME }}:${{ secrets.GITEA_PASSWORD }}@git.bili33.top/GamerNoTitle/ZZZCloud-AutoCheckin.git
git push gitea master