mirror of
https://github.com/lan-tianxiang/clone_scripts.git
synced 2026-03-25 08:34:13 +08:00
Update gitee.yml
This commit is contained in:
6
.github/workflows/gitee.yml
vendored
6
.github/workflows/gitee.yml
vendored
@@ -19,6 +19,12 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
|
- name: Prepare Key
|
||||||
|
run: |
|
||||||
|
mkdir -p ~/.ssh
|
||||||
|
echo -e "${{ secrets.GITEE_PRIVATE_KEY }}" > ~/.ssh/id_rsa
|
||||||
|
chmod 600 ~/.ssh/id_rsa
|
||||||
|
ssh-keyscan gitee.com > ~/.ssh/known_hosts
|
||||||
|
|
||||||
- name: sync github -> gitee
|
- name: sync github -> gitee
|
||||||
uses: Yikun/hub-mirror-action@master
|
uses: Yikun/hub-mirror-action@master
|
||||||
|
|||||||
Reference in New Issue
Block a user