0
0
mirror of https://github.com/ok-oldking/ok-wuthering-waves.git synced 2025-06-01 16:35:57 +00:00

优化更新流程

This commit is contained in:
firedcto@gmail.com 2024-11-15 21:27:07 +08:00
parent e1343e59d2
commit 5ec85c9fee

View File

@ -7,19 +7,19 @@ on:
jobs:
sync-and-push:
runs-on: ubuntu-latest
runs-on: windows-latest
steps:
- name: Checkout source repository
run: |
git clone https://github.com/ok-oldking/ok-wuthering-waves.git
cd ok-wuthering-waves
- 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
run: |
git clone https://github.com/ok-oldking/ok-wuthering-waves.git
cd ok-wuthering-waves
- 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