Rename KeepAlive.yml.disabled to KeepAlive.yml #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |