mirror of
https://gitee.com/SuperManito/LinuxMirrors
synced 2025-11-07 18:00:26 +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: Github > Gitee
|
||||
name: Sync to Gitee
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
@@ -15,12 +14,10 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- name: sync github -> gitee
|
||||
uses: Yikun/hub-mirror-action@master
|
||||
if: env.dst_key && env.dst_token && env.gitee_user
|
||||
with:
|
||||
|
||||
src: github/SuperManito
|
||||
dst: gitee/SuperManito
|
||||
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:
|
||||
push:
|
||||
branches:
|
||||
|
||||
Reference in New Issue
Block a user