0
0
mirror of https://github.com/ok-oldking/ok-wuthering-waves.git synced 2025-06-03 09:25:19 +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: jobs:
sync-and-push: sync-and-push:
runs-on: ubuntu-latest runs-on: windows-latest
steps: steps:
- name: Checkout source repository
run: |
git clone https://github.com/ok-oldking/ok-wuthering-waves.git
cd ok-wuthering-waves
- name: Configure git - name: Configure git
run: | run: |
git config --global user.email "ok-oldking@users.noreply.github.com" git config --global user.email "ok-oldking@users.noreply.github.com"
git config --global user.name "ok-oldking" 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 - name: Add destination repository as a remote
run: | run: |
git remote add ghupdate https://ok-oldking:${{ secrets.OK_GH }}@github.com/ok-oldking/ok-ww-update.git git remote add ghupdate https://ok-oldking:${{ secrets.OK_GH }}@github.com/ok-oldking/ok-ww-update.git