mirror of
https://gitee.com/SuperManito/LinuxMirrors
synced 2025-11-08 18:30:27 +08:00
更新工作流
This commit is contained in:
5
.github/workflows/auto-sync.yml
vendored
5
.github/workflows/auto-sync.yml
vendored
@@ -1,5 +1,4 @@
|
|||||||
# 通过 Github actions, 在 Github 仓库的每一次 commit 后自动同步到 Gitee 上
|
name: Sync to Gitee
|
||||||
name: Github > Gitee
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
@@ -15,12 +14,10 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
|
|
||||||
- name: sync github -> gitee
|
- name: sync github -> 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:
|
||||||
|
|
||||||
src: github/SuperManito
|
src: github/SuperManito
|
||||||
dst: gitee/SuperManito
|
dst: gitee/SuperManito
|
||||||
dst_key: ${{ secrets.GITEE_PRIVATE_KEY }}
|
dst_key: ${{ secrets.GITEE_PRIVATE_KEY }}
|
||||||
|
|||||||
2
.github/workflows/build-docs.yml
vendored
2
.github/workflows/build-docs.yml
vendored
@@ -1,4 +1,4 @@
|
|||||||
name: build-docs
|
name: Build docs website
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
|
|||||||
Reference in New Issue
Block a user