Skip to content

Commit

Permalink
Create MirrorSync.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
GamerNoTitle authored Jan 18, 2024
1 parent cf6a092 commit d13d2d4
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/MirrorSync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
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/wyycg-AutoCheckin.git
git push gitea master

0 comments on commit d13d2d4

Please sign in to comment.