Create MirrorSync.yml
This commit is contained in:
1 parent
713fe4bca8
commit
813b3d05b2
1 file changed
+20
@@ -0,0 +1,20 @@
|
||||
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/SRCloud-AutoCheckin.git
|
||||
git push gitea master
|
||||
Reference in new issue
Block a user