mirror of
https://gitee.com/antv/g6.git
synced 2024-12-04 12:49:04 +08:00
chore: site deploy problem with mirror
This commit is contained in:
parent
7a9c44532d
commit
33482dcd59
@ -87,6 +87,6 @@
|
||||
"ts-jest": "^24.1.0",
|
||||
"ts-loader": "^7.0.3",
|
||||
"typescript": "^3.5.3",
|
||||
"@antv/g6": "^4.1.0"
|
||||
"@antv/g6": "^4.1.1"
|
||||
}
|
||||
}
|
@ -57,6 +57,6 @@
|
||||
"jquery": "^3.5.1",
|
||||
"rimraf": "^3.0.2",
|
||||
"ts-jest": "^26.4.4",
|
||||
"@antv/g6": "^4.1.0"
|
||||
"@antv/g6": "^4.1.1"
|
||||
}
|
||||
}
|
30
packages/site/.github/workflows/mirror.yml
vendored
Normal file
30
packages/site/.github/workflows/mirror.yml
vendored
Normal file
@ -0,0 +1,30 @@
|
||||
name: 🤖 Sync to Gitee Mirror
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: 🔁 Sync to Gitee
|
||||
uses: wearerequired/git-mirror-action@master
|
||||
env:
|
||||
# 注意在 Settings->Secrets 配置 GITEE_RSA_PRIVATE_KEY
|
||||
SSH_PRIVATE_KEY: ${{ secrets.GITEE_RSA_PRIVATE_KEY }}
|
||||
with:
|
||||
# 注意替换为你的 GitHub 源仓库地址
|
||||
source-repo: 'git@github.com:antvis/G6.git'
|
||||
# 注意替换为你的 Gitee 目标仓库地址
|
||||
destination-repo: 'git@gitee.com:antv-g6/antv-g6.git'
|
||||
|
||||
- name: ✅ Build Gitee Pages
|
||||
uses: yanglbme/gitee-pages-action@master
|
||||
with:
|
||||
# 注意替换为你的 Gitee 用户名
|
||||
gitee-username: afc163
|
||||
# 注意在 Settings->Secrets 配置 GITEE_PASSWORD
|
||||
gitee-password: ${{ secrets.GITEE_PASSWORD }}
|
||||
# 注意替换为你的 Gitee 仓库
|
||||
gitee-repo: antv-g6/antv-g6
|
||||
# 要部署的分支
|
||||
branch: gh-pages
|
@ -34,7 +34,7 @@
|
||||
"dependencies": {
|
||||
"@antv/chart-node-g6": "^0.0.3",
|
||||
"@antv/util": "^2.0.9",
|
||||
"@antv/g6": "^4.1.0",
|
||||
"@antv/g6": "^4.1.1",
|
||||
"@antv/gatsby-theme-antv": "^1.0.5",
|
||||
"gatsby": "^2.24.40",
|
||||
"gh-pages": "^2.1.1",
|
||||
|
Loading…
Reference in New Issue
Block a user