mirror of
https://github.com/go-gost/gost-ui.git
synced 2024-08-11 17:53:29 +00:00
调整CI
This commit is contained in:
@@ -1,14 +1,19 @@
|
||||
name: CI
|
||||
name: Deploy gh-pages
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
permissions:
|
||||
contents: write
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
jobs:
|
||||
build-and-deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Build
|
||||
- name: Install & Build
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: "18.x"
|
||||
@@ -16,7 +21,7 @@ jobs:
|
||||
- run: npm install
|
||||
- run: npm run build
|
||||
- name: Deploy # 部署
|
||||
uses: JamesIves/github-pages-deploy-action@v4.3.3
|
||||
uses: JamesIves/github-pages-deploy-action@v4
|
||||
with:
|
||||
branch: gh-pages # 部署后提交到那个分支
|
||||
folder: dist # 这里填打包好的目录名称
|
||||
|
||||
+2
-2
@@ -2,9 +2,9 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
||||
<link rel="icon" href="/favicon.ico" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Vite + React + TS</title>
|
||||
<title>GOST API Manage</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 4.2 KiB |
+1
-10
@@ -43,7 +43,7 @@ const Home: React.FC = () => {
|
||||
columns={columns}
|
||||
></BetaSchemaForm> */}
|
||||
<LoginForm
|
||||
title="GOST(v3) 动态配制客户端"
|
||||
title="GOST API Manage"
|
||||
subTitle="首先连接API服务"
|
||||
layout="horizontal"
|
||||
submitter={{
|
||||
@@ -91,15 +91,6 @@ const Home: React.FC = () => {
|
||||
placeholder={"password"}
|
||||
/>
|
||||
</LoginForm>
|
||||
<div>
|
||||
<table>
|
||||
<tr>
|
||||
<th>服务器</th>
|
||||
<th>操作</th>
|
||||
</tr>
|
||||
<tbody></tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
+4
-3
@@ -1,7 +1,8 @@
|
||||
import { defineConfig } from 'vite'
|
||||
import react from '@vitejs/plugin-react'
|
||||
import { defineConfig } from "vite";
|
||||
import react from "@vitejs/plugin-react";
|
||||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
base: "./",
|
||||
plugins: [react()],
|
||||
})
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user