-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c86d346
commit 17496ea
Showing
108 changed files
with
4,351 additions
and
15,652 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"recommendations": ["astro-build.astro-vscode"], | ||
"unwantedRecommendations": [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" }, | ||
}, | ||
], | ||
}), | ||
], | ||
}); |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.