github coding同步action
Published:
·
LastMod: April 09, 2023
·
98 words
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
| name: Sync Repo to CODING
on:
push:
schedule:
# 每天北京时间0点同步
- cron: "0 16 * * *"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Sync Repo to CODING
uses: serverlesslife-cn/sync-repo-to-coding@master
env:
SSH_PRIVATE_KEY: ${{ secrets.CODING_PRIVATE_KEY }}
with:
# 注意替换为你的 GitHub 源仓库地址
github-repo: "git@github.com:JunIce/hugo-blog.git"
# 注意替换为你的 CODING 目标仓库地址
coding-repo: "git@e.coding.net:volcan0/node-api/blog.git"
|