test
This commit is contained in:
8
.github/workflows/neocities.yml
vendored
8
.github/workflows/neocities.yml
vendored
@@ -24,7 +24,7 @@ jobs:
|
|||||||
genhtml: ${{ needs.setup.outputs.genhtml }}
|
genhtml: ${{ needs.setup.outputs.genhtml }}
|
||||||
run: |
|
run: |
|
||||||
cd ${{github.workspace}}
|
cd ${{github.workspace}}
|
||||||
./genhtml.sh > public/posts.html
|
./gen_posts.sh > public/posts.html
|
||||||
- run: |
|
- run: |
|
||||||
cd ${{github.workspace}}
|
cd ${{github.workspace}}
|
||||||
for entry in notes/*
|
for entry in notes/*
|
||||||
@@ -36,6 +36,12 @@ jobs:
|
|||||||
dest+=".html"
|
dest+=".html"
|
||||||
markdown-to-html --no-dark-mode false --markdown-style-theme light --source $entry --output $dest
|
markdown-to-html --no-dark-mode false --markdown-style-theme light --source $entry --output $dest
|
||||||
done
|
done
|
||||||
|
- name: gen_pico8
|
||||||
|
run: |
|
||||||
|
cd ${{github.worpskace}}
|
||||||
|
./gen_games.sh >> public/gaming.html
|
||||||
|
echo " </body></html> " >> public/gaming.html
|
||||||
|
|
||||||
- name: Deploy to neocities
|
- name: Deploy to neocities
|
||||||
uses: bcomnes/deploy-to-neocities@v1
|
uses: bcomnes/deploy-to-neocities@v1
|
||||||
with:
|
with:
|
||||||
|
11
gen_games.sh
Executable file
11
gen_games.sh
Executable file
@@ -0,0 +1,11 @@
|
|||||||
|
html='<ul class="games">'
|
||||||
|
for entry in public/games/*
|
||||||
|
do
|
||||||
|
filename=$(basename "entry" .html)
|
||||||
|
dest="/games/$filename"
|
||||||
|
dest+=".html"
|
||||||
|
html+="<li class=\"postli\"><a class=\"posta\" href=\"$dest"
|
||||||
|
html+="\>$filename</a></li>"
|
||||||
|
done
|
||||||
|
html+= </ul>
|
||||||
|
echo $html
|
BIN
public/.DS_Store
vendored
BIN
public/.DS_Store
vendored
Binary file not shown.
1128
public/games/lou.html
Normal file
1128
public/games/lou.html
Normal file
File diff suppressed because it is too large
Load Diff
413
public/games/lou.js
Normal file
413
public/games/lou.js
Normal file
File diff suppressed because one or more lines are too long
9
public/gaming.html
Normal file
9
public/gaming.html
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<title></title>
|
||||||
|
<link href="css/style.css" rel="stylesheet">
|
||||||
|
</head>
|
||||||
|
<body>
|
@@ -53,6 +53,7 @@
|
|||||||
<ul class="navbar_links">
|
<ul class="navbar_links">
|
||||||
<li class="navbar_link" ><a href="home.html" target="main">home</a></li>
|
<li class="navbar_link" ><a href="home.html" target="main">home</a></li>
|
||||||
<li class="navbar_link" ><a href="qr.html" >qr code thing that loads glsl shaders</a></li>
|
<li class="navbar_link" ><a href="qr.html" >qr code thing that loads glsl shaders</a></li>
|
||||||
|
<li class="navbar_link"><a href="gaming.html">Little games i made</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="sidebar">
|
<div class="sidebar">
|
||||||
|
Reference in New Issue
Block a user