Skip to content

Commit 9227e50

Browse files
committed
fix: page
1 parent 173b3c5 commit 9227e50

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- name: Upload artifact
3434
uses: actions/upload-pages-artifact@v3
3535
with:
36-
path: "./doc" # Upload the doc directory
36+
path: "./page" # Upload the doc directory
3737

3838
- name: Deploy to GitHub Pages
3939
id: deployment

index.html renamed to page/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,5 @@ <h4>Repositories</h4>
4949
<li><a href="https://github.com/BloopAI/vibe-kanban">https://github.com/BloopAI/vibe-kanban</a></li>
5050
<li><a href="https://github.com/ironcalc/IronCalc">https://github.com/ironcalc/IronCalc</a></li>
5151
<li><a href="https://github.com/rust-basel/cli">https://github.com/rust-basel/cli</a></li>
52-
</ul></div></li>
52+
</ul>
53+
</div></li>

src/meetups/website.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,13 @@ pub fn build() {
2222
}
2323
};
2424

25+
let _dir = fs::create_dir_all("page").unwrap();
26+
2527
let mut html_file = fs::OpenOptions::new()
2628
.write(true)
2729
.truncate(true)
2830
.create(true)
29-
.open("index.html")
31+
.open("page/index.html")
3032
.unwrap();
3133
html_file.write(html.into_string().as_bytes()).unwrap();
3234
}

0 commit comments

Comments
 (0)