Create MirrorSync.yml
This commit is contained in:
parent
4b2b6feb6b
commit
cc489ccab1
18
.github/workflows/MirrorSync.yml
vendored
Normal file
18
.github/workflows/MirrorSync.yml
vendored
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
name: 'KeepActionAlive'
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
push:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
sync:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: 'Checkout codes'
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: 'Sync'
|
||||||
|
id: commit
|
||||||
|
run: |
|
||||||
|
git remote add gitea https://${{ secrets.GITEA_USERNAME }}:${{ secrets.GITEA_PASSWORD }}git.bili33.top/GamerNoTitle/MHYY.git
|
||||||
|
git push gitea master
|
Loading…
Reference in New Issue
Block a user