mirror of
https://github.com/whyour/qinglong.git
synced 2025-11-06 13:16:06 +08:00
更新 workflow
This commit is contained in:
parent
399728b433
commit
494ccb3c08
48
.github/workflows/build-docker-image.yml
vendored
48
.github/workflows/build-docker-image.yml
vendored
|
|
@ -20,12 +20,14 @@ jobs:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- uses: wearerequired/git-mirror-action@v1
|
- uses: Yikun/hub-mirror-action@master
|
||||||
env:
|
|
||||||
SSH_PRIVATE_KEY: ${{ secrets.GITLAB_SSH_PK }}
|
|
||||||
with:
|
with:
|
||||||
source-repo: https://github.com/whyour/qinglong.git
|
src: github/whyour
|
||||||
destination-repo: git@gitlab.com:whyour/qinglong.git
|
dst: gitlab/whyour
|
||||||
|
dst_key: ${{ secrets.GITLAB_SSH_PK }}
|
||||||
|
dst_token: ${{ secrets.GITLAB_TOKEN }}
|
||||||
|
static_list: "qinglong"
|
||||||
|
force_update: true
|
||||||
|
|
||||||
code_gitee:
|
code_gitee:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
@ -33,12 +35,14 @@ jobs:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- uses: wearerequired/git-mirror-action@v1
|
- uses: Yikun/hub-mirror-action@master
|
||||||
env:
|
|
||||||
SSH_PRIVATE_KEY: ${{ secrets.GITLAB_SSH_PK }}
|
|
||||||
with:
|
with:
|
||||||
source-repo: https://github.com/whyour/qinglong.git
|
src: github/whyour
|
||||||
destination-repo: git@gitee.com:whyour/qinglong.git
|
dst: gitee/whyour
|
||||||
|
dst_key: ${{ secrets.GITLAB_SSH_PK }}
|
||||||
|
dst_token: ${{ secrets.GITEE_TOKEN }}
|
||||||
|
static_list: "qinglong"
|
||||||
|
force_update: true
|
||||||
|
|
||||||
build-static:
|
build-static:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
@ -82,12 +86,14 @@ jobs:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- uses: wearerequired/git-mirror-action@v1
|
- uses: Yikun/hub-mirror-action@master
|
||||||
env:
|
|
||||||
SSH_PRIVATE_KEY: ${{ secrets.GITLAB_SSH_PK }}
|
|
||||||
with:
|
with:
|
||||||
source-repo: https://github.com/whyour/qinglong-static.git
|
src: github/whyour
|
||||||
destination-repo: git@gitlab.com:whyour/qinglong-static.git
|
dst: gitlab/whyour
|
||||||
|
dst_key: ${{ secrets.GITLAB_SSH_PK }}
|
||||||
|
dst_token: ${{ secrets.GITLAB_TOKEN }}
|
||||||
|
static_list: "qinglong-static"
|
||||||
|
force_update: true
|
||||||
|
|
||||||
static_gitee:
|
static_gitee:
|
||||||
needs: build-static
|
needs: build-static
|
||||||
|
|
@ -96,12 +102,14 @@ jobs:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- uses: wearerequired/git-mirror-action@v1
|
- uses: Yikun/hub-mirror-action@master
|
||||||
env:
|
|
||||||
SSH_PRIVATE_KEY: ${{ secrets.GITLAB_SSH_PK }}
|
|
||||||
with:
|
with:
|
||||||
source-repo: https://github.com/whyour/qinglong-static.git
|
src: github/whyour
|
||||||
destination-repo: git@gitee.com:whyour/qinglong-static.git
|
dst: gitee/whyour
|
||||||
|
dst_key: ${{ secrets.GITLAB_SSH_PK }}
|
||||||
|
dst_token: ${{ secrets.GITEE_TOKEN }}
|
||||||
|
static_list: "qinglong-static"
|
||||||
|
force_update: true
|
||||||
|
|
||||||
build:
|
build:
|
||||||
needs: build-static
|
needs: build-static
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user