0
0
mirror of https://github.com/ok-oldking/ok-wuthering-waves.git synced 2025-06-03 09:25:19 +00:00
firedcto@gmail.com 025f82c652 优化更新流程
2024-11-15 21:34:25 +08:00

29 lines
647 B
YAML

name: Sync and Push to Another Repo
on:
push:
branches:
- master
jobs:
sync-and-push:
runs-on: windows-latest
steps:
- name: Configure git
run: |
git config --global user.email "ok-oldking@users.noreply.github.com"
git config --global user.name "ok-oldking"
- name: Checkout source repository
uses: actions/checkout@v2
- name: Add destination repository as a remote
run: |
git remote add ghupdate https://ok-oldking:${{ secrets.OK_GH }}@github.com/ok-oldking/ok-ww-update.git
- name: push
run: |
git push ghupdate --force