parent
0a37911ea1
commit
aa11762faa
20
.github/workflows/MirrorSync.yml
vendored
Normal file
20
.github/workflows/MirrorSync.yml
vendored
Normal file
|
@ -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 ${{ secrets.GITEA_URL }}
|
||||
git push gitea master
|
Loading…
Reference in New Issue
Block a user