Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add workflow #3

Merged
merged 2 commits into from
Apr 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/workflows/push_dist_dir_to_server.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: 打包上传
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:

node-version: [ 20 ]
steps:
- uses: actions/checkout@v4
- name: 发布到服务器
uses: easingthemes/ssh-deploy@v5.0.3
env:
REMOTE_HOST: ${{ secrets.HOST }}
REMOTE_USER: ${{ secrets.USER }}
SSH_PRIVATE_KEY: ${{ secrets.PASS }}
REMOTE_PORT: ${{ secrets.PORT }}
SOURCE: "dd_server_admin/dist/"
TARGET: ${{ secrets.PATH }}
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

val sbVersion = "3.2.4"
val sbVersion = "3.2.5"


plugins {
`maven-publish`
idea
id("org.jetbrains.kotlin.jvm") version "2.0.0-RC1"
id("org.springframework.boot") version "3.2.4"
id("org.springframework.boot") version "3.2.5"
id("org.springdoc.openapi-gradle-plugin") version "1.8.0"
kotlin("plugin.spring") version "2.0.0-RC1"
id("io.spring.dependency-management") version "1.1.4"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#n:test
!<md> [null, 0, null, null, 0, 0]
5 changes: 5 additions & 0 deletions dd_server_admin/.umirc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,11 @@ export default defineConfig({
},
],
},
{
name: "个人设置",
path: "/setting",
component: './Setting',
}
],

npmClient: 'pnpm',
Expand Down
12 changes: 6 additions & 6 deletions dd_server_admin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@
"start": "pnpm run dev"
},
"dependencies": {
"@ant-design/cssinjs": "^1.19.1",
"@ant-design/cssinjs": "^1.20.0",
"@ant-design/icons": "^5.3.6",
"@ant-design/pro-components": "^2.7.0",
"@nextui-org/react": "^2.2.10",
"@umijs/max": "^4.1.9",
"@ant-design/pro-components": "^2.7.1",
"@nextui-org/react": "^2.3.5",
"@umijs/max": "^4.1.10",
"@wcj/markdown-to-html": "^3.0.2",
"antd": "^5.16.2",
"dayjs": "^1.11.10",
"framer-motion": "^11.0.28",
"framer-motion": "^11.1.7",
"markdown-it": "^14.1.0",
"rc-tween-one": "^3.0.6",
"react-markdown-editor-lite": "^1.3.4",
Expand All @@ -30,7 +30,7 @@
},
"devDependencies": {
"@types/markdown-it": "^14.0.1",
"@types/react": "^18.2.78",
"@types/react": "^18.2.79",
"@types/react-dom": "^18.2.25",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
Expand Down
Loading