mirror of
https://gitee.com/SuperManito/LinuxMirrors
synced 2025-11-12 12:20:28 +08:00
更新工作流配置
This commit is contained in:
6
.github/workflows/auto-sync.yml
vendored
6
.github/workflows/auto-sync.yml
vendored
@@ -1,4 +1,4 @@
|
|||||||
name: Sync to Gitee
|
name: Sync to mirror repo
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
@@ -11,10 +11,10 @@ jobs:
|
|||||||
gitee_user: ${{ secrets.GITEE_USER }}
|
gitee_user: ${{ secrets.GITEE_USER }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
- name: sync github -> gitee
|
- name: sync to gitee
|
||||||
uses: Yikun/hub-mirror-action@master
|
uses: Yikun/hub-mirror-action@master
|
||||||
if: env.dst_key && env.dst_token && env.gitee_user
|
if: env.dst_key && env.dst_token && env.gitee_user
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user