| @@ -5,8 +5,8 @@ | |||
| <link rel="icon" type="image/svg+xml" href="/logo_1.jpg" /> | |||
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |||
| <title>后台管理系统</title> | |||
| <script type="module" crossorigin src="/assets/index-rDo0GekC.js"></script> | |||
| <link rel="stylesheet" crossorigin href="/assets/index-UPhkh_vR.css"> | |||
| <script type="module" crossorigin src="/assets/index-gVPLuavq.js"></script> | |||
| <link rel="stylesheet" crossorigin href="/assets/index-ioYE9aJh.css"> | |||
| </head> | |||
| <body> | |||
| <div id="app"></div> | |||
| @@ -0,0 +1,14 @@ | |||
| npx vite build | |||
| msg=$1 | |||
| ciskip="[CI SKIP]" | |||
| if [[ $msg =~ deploy ]]; then | |||
| echo "此次提交将会部署,请查看drone日志。" | |||
| else | |||
| echo "此次提交不部署" | |||
| $msg="$msg$ciskip" | |||
| fi | |||
| git add . | |||
| git commit -a -m "$msg" | |||
| git push | |||