Skip to content
This repository was archived by the owner on Jun 1, 2025. It is now read-only.

Commit af3380d

Browse files
authored
Pages v2 (#24)
* add img * update rsbuild * update workflow
1 parent 586d795 commit af3380d

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

.github/workflows/cd.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,12 @@ jobs:
1919
runs-on: ubuntu-latest
2020

2121
steps:
22-
- name: Checkout
23-
uses: actions/checkout@v4
22+
- uses: actions/checkout@v4
2423

25-
- name: Use Node.js 20
26-
uses: actions/setup-node@v3
24+
- uses: actions/setup-node@v4
2725
with:
2826
node-version: 20
29-
27+
3028
- name: Install dependencies
3129
run: npm i
3230

@@ -37,4 +35,4 @@ jobs:
3735
uses: JamesIves/github-pages-deploy-action@v4
3836
with:
3937
folder: dist
40-
branch: gh-pages
38+
branch: gh-pages

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Local Energy System
22

3+
<img src="/public/homepagelogo.png" alt="Logo">
4+
35
<p style="text-align: center;">A simulation tool for comparing schedulable load algorithms and twinworlds in a local energy system environment.</p>
46

57
If you like this project, please consider supporting it by giving it a star ⭐!

rsbuild.config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,7 @@ import { pluginSvelte } from "@rsbuild/plugin-svelte";
33

44
export default defineConfig({
55
plugins: [pluginSvelte()],
6+
output: {
7+
assetPrefix: "/LES/",
8+
},
69
});

0 commit comments

Comments
 (0)