Update
continuous-integration/drone/push Build is passing Details

This commit is contained in:
186526 2022-04-30 15:53:11 +08:00
parent 18c971b84a
commit bff4f6c1a6
Signed by: 186526
GPG Key ID: C7EB1E6B8CC5E51D
3 changed files with 10 additions and 4 deletions

View File

@ -21,5 +21,5 @@ steps:
secret_key:
from_secret: s3_secret_key
source: dist/**/*
target: /dist/
target: /dist
path_style: true

View File

@ -21,7 +21,7 @@
<title>It's me, 186526!</title>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons+Outlined" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+SC&amp;display=swap" rel="stylesheet">
<script type="module" src="/src/main.ts"></script>
<script type="module" src="./src/main.ts"></script>
<script async="" src="https://www.googletagmanager.com/gtag/js?id=G-PVVC00CJ26"></script>
<meta name="description" content="It's me, 186526! | 186526 的自留地">
@ -74,7 +74,7 @@
</background>
<header>
<img src="/avatar.png" alt="avatar" width="100px" />
<img src="./avatar.png" alt="avatar" width="100px" />
<div>
<h1><a href="https://186526.xyz" title="186526.xyz - It's me, 186526!">It's me, 186526!</a></h1>
<description>一个啥都不会的屑</description>
@ -138,7 +138,12 @@
<a href="https://icp.gov.moe/?keyword=20218600"><img alt="Moe ICP 20218600"
src="https://blog.186526.xyz/shields.io/badge/%E8%90%8CICP%E5%A4%87-20218600-blue" /></a>
<a href="https://status.186526.eu.org/"><img src="https://blog.186526.xyz/shields.io/uptimerobot/ratio/m786767672-6913a353d708838f195d30d8"/></a>
<a href="https://status.186526.eu.org/"><img
src="https://blog.186526.xyz/shields.io/uptimerobot/ratio/m786767672-6913a353d708838f195d30d8" /></a>
<a alt="CI Status" href="https://ci.186526.xyz/186526/home-app">
<img src="https://ci.186526.xyz/api/badges/186526/home-app/status.svg" />
</a>
</div>
<p>Running on <a href="https://net.186526.xyz">186526 Network</a>.</p>

View File

@ -5,6 +5,7 @@ import legacy from '@vitejs/plugin-legacy';
* @type {import('vite').UserConfig}
*/
const config = {
base: './',
define: {
'__APP_VERSION': child_process.execSync('git rev-parse --short HEAD').toString().replace("\n",""),
'__APP_BUILD_TIME': Math.floor(Date.now() / 1000),