Skip to content

Commit

Permalink
init new
Browse files Browse the repository at this point in the history
  • Loading branch information
yangyang0507 committed Feb 6, 2024
1 parent c86d346 commit 17496ea
Show file tree
Hide file tree
Showing 108 changed files with 4,351 additions and 15,652 deletions.
80 changes: 40 additions & 40 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,44 +1,44 @@
name: CI
# name: CI

on:
push:
branches:
- master
# on:
# push:
# branches:
# - master

jobs:
build:
runs-on: ubuntu-latest
# jobs:
# build:
# runs-on: ubuntu-latest

strategy:
matrix:
node-version: [10.x]
# strategy:
# matrix:
# node-version: [10.x]

steps:
- name: Checkout
uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Build project
env:
CODING_USER: ${{ secrets.CODING_USER }}
CODING_TOKEN: ${{ secrets.CODING_TOKEN }}
run: yarn --frozen-lockfile && yarn run deploy
# - name: Upload COS
# uses: zkqiang/[email protected]
# with:
# args: list / -ar && delete -r -f / && upload -r ./docs/.vuepress/dist/ /
# secret_id: ${{ secrets.TENCENT_CLOUD_SECRET_ID }}
# secret_key: ${{ secrets.TENCENT_CLOUD_SECRET_KEY }}
# bucket: ${{ secrets.TENCENT_CLOUD_BUCKET }}
# region: ap-beijing
- name: Deploy to ECS
uses: cross-the-world/scp-pipeline@master
with:
host: ${{ secrets.ECS_HOST }}
user: ${{ secrets.ECS_USERNAME }}
pass: ${{ secrets.ECS_PASSWORD }}
connect_timeout: 10s
local: './docs/.vuepress/dist/*'
remote: '/var/www/html/'
# steps:
# - name: Checkout
# uses: actions/checkout@v1
# - name: Use Node.js ${{ matrix.node-version }}
# uses: actions/setup-node@v1
# with:
# node-version: ${{ matrix.node-version }}
# - name: Build project
# env:
# CODING_USER: ${{ secrets.CODING_USER }}
# CODING_TOKEN: ${{ secrets.CODING_TOKEN }}
# run: yarn --frozen-lockfile && yarn run deploy
# # - name: Upload COS
# # uses: zkqiang/[email protected]
# # with:
# # args: list / -ar && delete -r -f / && upload -r ./docs/.vuepress/dist/ /
# # secret_id: ${{ secrets.TENCENT_CLOUD_SECRET_ID }}
# # secret_key: ${{ secrets.TENCENT_CLOUD_SECRET_KEY }}
# # bucket: ${{ secrets.TENCENT_CLOUD_BUCKET }}
# # region: ap-beijing
# - name: Deploy to ECS
# uses: cross-the-world/scp-pipeline@master
# with:
# host: ${{ secrets.ECS_HOST }}
# user: ${{ secrets.ECS_USERNAME }}
# pass: ${{ secrets.ECS_PASSWORD }}
# connect_timeout: 10s
# local: './docs/.vuepress/dist/*'
# remote: '/var/www/html/'
42 changes: 16 additions & 26 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,30 +1,20 @@
# IntelliJ project files
.idea/
*.iml
*.ipr
*.iws
out
gem
# build output
dist/
# generated types
.astro/

# Fleet project files
.fleet/
# dependencies
node_modules/

# VS Code project files
.vscode/
# logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*

# MacOS files
.DS_Store
Thumbs.db

# NPM
package-lock.json
node_modules

# YARN
# yarn.lock
# environment variables
.env
.env.production

# VuePress
docs/.vuepress/dist

# Baidu Push
urls.txt
# macOS-specific files
.DS_Store
4 changes: 4 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"recommendations": ["astro-build.astro-vscode"],
"unwantedRecommendations": []
}
11 changes: 11 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"version": "0.2.0",
"configurations": [
{
"command": "./node_modules/.bin/astro dev",
"name": "Development server",
"request": "launch",
"type": "node-terminal"
}
]
}
12 changes: 3 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,8 @@

## 代码托管

<a href="https://gitee.com/baomidou/mybatis-plus" target="_blank">
<img src="https://aizanzhu.aizuda.com/v1/badge/svg?url=https://gitee.com/baomidou/mybatis-plus">
</a>

<a href="https://github.com/baomidou/mybatis-plus" target="_blank">
<img src="https://aizanzhu.aizuda.com/v1/badge/svg?url=https://github.com/baomidou/mybatis-plus">
</a>
- **[Github](https://github.com/baomidou/mybatis-plus)**
- **[Gitee](https://gitee.com/baomidou/mybatis-plus)**

## 苞米豆生态圈

Expand All @@ -58,7 +53,6 @@

- MyBatis-Plus 已连续 5 年([2017](https://www.oschina.net/project/top_cn_2017)[2018](https://www.oschina.net/project/top_cn_2018)[2019](https://www.oschina.net/project/top_cn_2019)[2020](https://www.oschina.net/project/top_cn_2020)[2021](https://www.oschina.net/project/top_cn_2021))获得“OSC 年度最受欢迎中国开源软件”殊荣,感谢各位支持者的一路同行,我们会秉承 【为简化开发而生】 这一理念砥砺前行!


## 参与贡献

欢迎各路好汉一起来参与完善 MyBatis-Plus,我们期待你的 PR!
Expand All @@ -68,4 +62,4 @@

## 教程、案例、使用者名单

请移步至 [Awesome-MyBatis-Plus](https://github.com/baomidou/awesome-mybatis-plus) 查看。
请移步至 [Awesome-MyBatis-Plus](https://github.com/baomidou/awesome-mybatis-plus) 查看。
40 changes: 40 additions & 0 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
import { defineConfig } from "astro/config";
import starlight from "@astrojs/starlight";

// https://astro.build/config
export default defineConfig({
integrations: [
starlight({
title: "MyBatis-Plus",
logo: {
src: './src/assets/logo.svg',
},
customCss: [
'./src/styles/custom.css',
],
components: {
Footer: './src/components/Footer.astro',
},
locales: {
root: { label: '简体中文', lang: 'zh-CN' },
en: { label: 'English', lang: 'en' },
},
social: {
github: "https://github.com/baomidou/mybatis-plus",
},
sidebar: [
{
label: "Guides",
items: [
// Each item here is one entry in the navigation menu.
{ label: "Example Guide", link: "/guides/example/" },
],
},
{
label: "Reference",
autogenerate: { directory: "reference" },
},
],
}),
],
});
27 changes: 0 additions & 27 deletions deploy.sh

This file was deleted.

16 changes: 0 additions & 16 deletions docs/.vuepress/config.js

This file was deleted.

74 changes: 0 additions & 74 deletions docs/.vuepress/config/head.js

This file was deleted.

53 changes: 0 additions & 53 deletions docs/.vuepress/config/htmlModules.js

This file was deleted.

Loading

0 comments on commit 17496ea

Please sign in to comment.