mirror of
https://github.com/youzan/vant.git
synced 2026-05-07 01:01:01 +08:00
docs: remove all Gitee links (#12845)
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
Before submitting a pull request, please read the [contributing guide](https://vant-contrib.gitee.io/vant/#/en-US/contribution).
|
||||
Before submitting a pull request, please read the [contributing guide](https://vant-ui.github.io/vant/#/en-US/contribution).
|
||||
|
||||
在提交 pull request 之前,请阅读 [贡献指南](https://vant-contrib.gitee.io/vant/#/zh-CN/contribution)。
|
||||
在提交 pull request 之前,请阅读 [贡献指南](https://vant-ui.github.io/vant/#/zh-CN/contribution)。
|
||||
|
||||
@@ -32,30 +32,6 @@ jobs:
|
||||
- name: Build Site
|
||||
run: npm run build:site
|
||||
|
||||
- name: Deploy for Gitee 🚀
|
||||
uses: JamesIves/github-pages-deploy-action@v4.6.0
|
||||
with:
|
||||
branch: gh-pages
|
||||
folder: packages/vant/site-dist
|
||||
# enable single-commit to reduce the repo size
|
||||
single-commit: true
|
||||
clean: true
|
||||
clean-exclude: |
|
||||
1.x/*
|
||||
1.x/**/*
|
||||
next/*
|
||||
next/**/*
|
||||
v1/*
|
||||
v1/**/*
|
||||
v2/*
|
||||
v2/**/*
|
||||
v3/*
|
||||
v3/**/*
|
||||
v4/*
|
||||
v4/**/*
|
||||
vant-use/*
|
||||
vant-use/**/*
|
||||
|
||||
- name: Deploy for GitHub 🚀
|
||||
uses: JamesIves/github-pages-deploy-action@v4.6.0
|
||||
with:
|
||||
|
||||
@@ -1,28 +0,0 @@
|
||||
name: Sync to Gitee
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
|
||||
|
||||
# Sync to gitee everyday
|
||||
schedule:
|
||||
- cron: '0 1 * * *'
|
||||
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
if: github.repository == 'youzan/vant'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Sync to Gitee
|
||||
uses: wearerequired/git-mirror-action@v1.2.0
|
||||
env:
|
||||
# 在 Settings->Secrets 配置 GITEE_RSA_PRIVATE_KEY
|
||||
SSH_PRIVATE_KEY: ${{ secrets.GITEE_RSA_PRIVATE_KEY }}
|
||||
with:
|
||||
# GitHub 源仓库地址
|
||||
source-repo: git@github.com:vant-ui/vant.git
|
||||
# Gitee 目标仓库地址
|
||||
destination-repo: git@gitee.com:vant-contrib/vant.git
|
||||
Reference in New Issue
Block a user