feat: 新增bat流水线
This commit is contained in:
@@ -34,6 +34,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
|
|||||||
tool.bat = tool.bat
|
tool.bat = tool.bat
|
||||||
usings.props = usings.props
|
usings.props = usings.props
|
||||||
version.props = version.props
|
version.props = version.props
|
||||||
|
publish.bat = publish.bat
|
||||||
EndProjectSection
|
EndProjectSection
|
||||||
EndProject
|
EndProject
|
||||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Yi.Framework.SqlSugarCore.Abstractions", "framework\Yi.Framework.SqlSugarCore.Abstractions\Yi.Framework.SqlSugarCore.Abstractions.csproj", "{FD6D6860-3753-4747-8A26-977E4A3001F9}"
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Yi.Framework.SqlSugarCore.Abstractions", "framework\Yi.Framework.SqlSugarCore.Abstractions\Yi.Framework.SqlSugarCore.Abstractions.csproj", "{FD6D6860-3753-4747-8A26-977E4A3001F9}"
|
||||||
|
|||||||
24
Yi.Abp.Net8/publish.bat
Normal file
24
Yi.Abp.Net8/publish.bat
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
@echo on
|
||||||
|
|
||||||
|
set SERVER_USER=root
|
||||||
|
set SERVER_IP=ccnetcore.com
|
||||||
|
set FILE_PATH=publish_02.zip
|
||||||
|
set REMOTE_PATH=/home/yi/build/publish_02.zip
|
||||||
|
set REMOTE_COMMAND="cd /home/yi/net8&&pwd&&unzip -o /home/yi/build/publish_02.zip -d ./&&./start.sh"
|
||||||
|
set sevenzip_Path="D:\Program Files\7-Zip\7z.exe"
|
||||||
|
|
||||||
|
echo start
|
||||||
|
echo 1-build-start
|
||||||
|
:: dotnet publish
|
||||||
|
echo 1-build-end
|
||||||
|
echo 2-zip-start
|
||||||
|
|
||||||
|
%sevenzip_Path% a ./publish_02.zip ./src/Yi.Abp.Web/bin/Release/net8.0/linux-x64/publish/*
|
||||||
|
:: tar -cvf publish_02.zip -C "dist" "*"
|
||||||
|
echo 2-zip-end
|
||||||
|
echo 3-publish-start
|
||||||
|
scp %FILE_PATH% %SERVER_USER%@%SERVER_IP%:%REMOTE_PATH%
|
||||||
|
ssh %SERVER_USER%@%SERVER_IP% %REMOTE_COMMAND%
|
||||||
|
echo 3-publish-end
|
||||||
|
echo end
|
||||||
|
pause
|
||||||
24
Yi.Bbs.Vue3/publish.bat
Normal file
24
Yi.Bbs.Vue3/publish.bat
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
@echo on
|
||||||
|
|
||||||
|
set SERVER_USER=root
|
||||||
|
set SERVER_IP=ccnetcore.com
|
||||||
|
set FILE_PATH=publish_bbs_02.zip
|
||||||
|
set REMOTE_PATH=/home/yi/build/publish_bbs_02.zip
|
||||||
|
set REMOTE_COMMAND="cd /home/yi/bbs&&pwd&&unzip -o /home/yi/build/publish_bbs_02.zip -d ./"
|
||||||
|
set sevenzip_Path="D:\Program Files\7-Zip\7z.exe"
|
||||||
|
|
||||||
|
echo start
|
||||||
|
echo 1-build-start
|
||||||
|
:: npm run build
|
||||||
|
echo 1-build-end
|
||||||
|
echo 2-zip-start
|
||||||
|
|
||||||
|
%sevenzip_Path% a ./publish_bbs_02.zip ./dist/*
|
||||||
|
:: tar -cvf publish_bbs_02.zip -C "dist" "*"
|
||||||
|
echo 2-zip-end
|
||||||
|
echo 3-publish-start
|
||||||
|
scp %FILE_PATH% %SERVER_USER%@%SERVER_IP%:%REMOTE_PATH%
|
||||||
|
ssh %SERVER_USER%@%SERVER_IP% %REMOTE_COMMAND%
|
||||||
|
echo 3-publish-end
|
||||||
|
echo end
|
||||||
|
pause
|
||||||
@@ -222,7 +222,7 @@ const enterStart=()=>{
|
|||||||
.money {
|
.money {
|
||||||
|
|
||||||
font-size: small;
|
font-size: small;
|
||||||
color: #FED055;
|
color: #ff0000;
|
||||||
margin: 0 5px;
|
margin: 0 5px;
|
||||||
|
|
||||||
span {
|
span {
|
||||||
|
|||||||
@@ -77,20 +77,25 @@
|
|||||||
</div>
|
</div>
|
||||||
<!-- 签到 -->
|
<!-- 签到 -->
|
||||||
<el-col :span="24">
|
<el-col :span="24">
|
||||||
<InfoCard header="每日签到">
|
<InfoCard header="活动">
|
||||||
<template #content>
|
<template #content>
|
||||||
<div class="signIn">
|
<div class="top">你好,很高兴今天又遇到你呀~</div>
|
||||||
<div class="left">你好,很高兴今天又遇到你!</div>
|
<el-row class="active">
|
||||||
<div class="right">
|
|
||||||
<div class="signIn-btn" @click="handleToSign">去签到</div>
|
<el-col v-for="item in activeList" :span="6">
|
||||||
</div>
|
|
||||||
</div>
|
<el-icon color="#70aafb" size="30px" @click="handleToRouter(item.path)">
|
||||||
|
<component :is="item.icon"></component>
|
||||||
|
</el-icon>
|
||||||
|
<span> {{item.name}}</span>
|
||||||
|
</el-col>
|
||||||
|
</el-row>
|
||||||
</template>
|
</template>
|
||||||
</InfoCard>
|
</InfoCard>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|
||||||
<el-col :span="24">
|
<el-col :span="24">
|
||||||
<InfoCard header="访问统计" class="VisitsLineChart" text="(New)全站历史统计" @onClickText="onClickAccessLog">
|
<InfoCard header="访问统计" class="VisitsLineChart" text="全站历史统计" @onClickText="onClickAccessLog">
|
||||||
<template #content>
|
<template #content>
|
||||||
<VisitsLineChart :option="statisOptions" class="statisChart" />
|
<VisitsLineChart :option="statisOptions" class="statisChart" />
|
||||||
</template>
|
</template>
|
||||||
@@ -219,6 +224,18 @@ const isAllDiscussFinished = ref(false);
|
|||||||
const userAnalyseInfo = ref({});
|
const userAnalyseInfo = ref({});
|
||||||
const onlineNumber = ref(0);
|
const onlineNumber = ref(0);
|
||||||
|
|
||||||
|
const activeList=[
|
||||||
|
{name:"签到",path:"/activity/sign",icon:"Present"},
|
||||||
|
{name:"等级",path:"/activity/level",icon:"Ticket"},
|
||||||
|
{name:"大转盘",path:"/activity/lucky",icon:"Sunny"},
|
||||||
|
{name:"银行",path:"/activity/bank",icon:"Money"},
|
||||||
|
|
||||||
|
{name:"任务",path:"/activity/sign",icon:"Memo"},
|
||||||
|
{name:"娱乐城",path:"/activity/sign",icon:"Sunrise"},
|
||||||
|
{name:"其他",path:"/activity/sign",icon:"Sunny"},
|
||||||
|
{name:"其他",path:"/activity/sign",icon:"Sunny"},
|
||||||
|
];
|
||||||
|
|
||||||
//主题查询参数
|
//主题查询参数
|
||||||
const query = reactive({
|
const query = reactive({
|
||||||
skipCount: 1,
|
skipCount: 1,
|
||||||
@@ -299,8 +316,8 @@ const onClickToChatHub=()=>{
|
|||||||
router.push("/chat");
|
router.push("/chat");
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleToSign = () => {
|
const handleToRouter = (path) => {
|
||||||
router.push("/activity/sign");
|
router.push(path);
|
||||||
};
|
};
|
||||||
|
|
||||||
// 推送的实时人数获取
|
// 推送的实时人数获取
|
||||||
@@ -422,13 +439,29 @@ const onClickAccessLog = async () => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.top{
|
||||||
.signIn {
|
text-align: center;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
}
|
||||||
|
.active {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
color: #8a919f;
|
color: #8a919f;
|
||||||
|
|
||||||
|
|
||||||
|
.el-col {
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
display: flex;
|
||||||
|
cursor: pointer;
|
||||||
|
padding: 10px 0px;
|
||||||
|
}
|
||||||
|
.el-col:hover {
|
||||||
|
background-color: #cce1ff; /* 悬浮时背景色变化 */
|
||||||
|
color: #70aafb; /* 悬浮时文字颜色变化 */
|
||||||
|
}
|
||||||
|
|
||||||
&-btn {
|
&-btn {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -457,9 +490,9 @@ const onClickAccessLog = async () => {
|
|||||||
height: 500px;
|
height: 500px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//走马灯,聊天室链接
|
//走马灯,聊天室链接
|
||||||
.chat-hub
|
.chat-hub {
|
||||||
{
|
|
||||||
background-color: #E6A23C;
|
background-color: #E6A23C;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
@@ -467,13 +500,16 @@ const onClickAccessLog = async () => {
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
|
||||||
span {
|
span {
|
||||||
color: red;
|
color: red;
|
||||||
}
|
}
|
||||||
|
|
||||||
display: flex;
|
display: flex;
|
||||||
align-content: center;
|
align-content: center;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
|
|
||||||
p {
|
p {
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
@@ -481,8 +517,12 @@ const onClickAccessLog = async () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@keyframes marquee {
|
@keyframes marquee {
|
||||||
0% { transform: translateX(0); }
|
0% {
|
||||||
100% { transform: translateX(-100%); }
|
transform: translateX(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
100% {
|
||||||
|
transform: translateX(-100%);
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user