File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff 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 >
Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments