File tree Expand file tree Collapse file tree 4 files changed +6
-4
lines changed
Expand file tree Collapse file tree 4 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ name: Release to Github Pages
44on :
55 push :
66 branches : [main, add-wasm-backend]
7+ paths :
8+ - ' examples/wasm/**'
79 workflow_dispatch :
810
911permissions :
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ const GROUND_Y = canvas.height - CONFIG.GROUND_HEIGHT;
8383
8484// Image loading
8585const playerImage = new Image ( ) ;
86- playerImage . src = "/ public/nyan_cat.gif" ;
86+ playerImage . src = "public/nyan_cat.gif" ;
8787
8888class Player {
8989 constructor ( ) {
Original file line number Diff line number Diff line change 22
33@font-face {
44 font-family : 'PixelOperatorMonoRegular' ;
5- src : url ('/ public/fonts/PixelOperatorMonoRegular.ttf' ) format ('truetype' );
5+ src : url ('public/fonts/PixelOperatorMonoRegular.ttf' ) format ('truetype' );
66 font-weight : normal;
77 font-style : normal;
88}
Original file line number Diff line number Diff line change 99 < meta property ="og:image " content ="https://rezigned.github.io/keymap-rs/preview.png " />
1010 < title > keymap-rs + WASM (Nyan Jump!)</ title >
1111
12- < link data-trunk rel ="css " href ="/ index.css " />
13- < link data-trunk rel ="copy-dir " href ="/ public " />
12+ < link data-trunk rel ="css " href ="index.css " />
13+ < link data-trunk rel ="copy-dir " href ="public " />
1414
1515 < link rel ="
stylesheet "
href ="
https://unpkg.com/@highlightjs/[email protected] /styles/tomorrow-night-blue.min.css "
> 1616 </ head >
You can’t perform that action at this time.
0 commit comments