修复 mirror action

This commit is contained in:
whyour 2025-02-07 01:56:23 +08:00
parent 952ea2859e
commit 5d64aae452

View File

@ -20,10 +20,12 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
- uses: pixta-dev/repository-mirroring-action@v1 - uses: wearerequired/git-mirror-action@v1
env:
SSH_PRIVATE_KEY: ${{ secrets.GITLAB_SSH_PK }}
with: with:
target_repo_url: git@gitlab.com:whyour/qinglong.git source-repo: https://github.com/whyour/qinglong.git
ssh_private_key: ${{ secrets.GITLAB_SSH_PK }} destination-repo: git@gitlab.com:whyour/qinglong.git
to_gitee: to_gitee:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -31,10 +33,12 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
- uses: pixta-dev/repository-mirroring-action@v1 - uses: wearerequired/git-mirror-action@v1
env:
SSH_PRIVATE_KEY: ${{ secrets.GITLAB_SSH_PK }}
with: with:
target_repo_url: git@gitee.com:whyour/qinglong.git source-repo: https://github.com/whyour/qinglong.git
ssh_private_key: ${{ secrets.GITLAB_SSH_PK }} destination-repo: git@gitee.com:whyour/qinglong.git
build-static: build-static:
runs-on: ubuntu-latest runs-on: ubuntu-latest