8 files changed, 18 insertions(+), 4 deletions(-)
A .build.yml
M .gitignore
R dst/favicon.ico => build/favicon.ico
R dst/index.html => build/index.html
R dst/main.css => build/main.css
R dst/rss.xml => build/rss.xml
R dst/sitemap.xml => build/sitemap.xml
M src/_header.html
A .build.yml => .build.yml +14 -0
@@ 0,0 1,14 @@
+image: alpine/edge
+oauth: pages.sr.ht/PAGES:RW
+packages:
+- hut
+- lowdown
+environment:
+ site: arena.adast.dk
+tasks:
+- package: |
+ cd arena-web
+ ./ssg src/ build/ arena https://$site
+ tar -C build -cvz . > ../site.tar.gz
+- upload: |
+ hut pages publish -d $site site.tar.gz
M .gitignore => .gitignore +1 -1
@@ 1,1 1,1 @@
-dst/.files
+build/.files
R dst/favicon.ico => build/favicon.ico +0 -0
R dst/index.html => build/index.html +1 -1
@@ 6,7 6,7 @@
<title>arena: Quake-like multiplayer shooter</title>
<link rel="icon" type="image/x-icon" href="/favicon.ico">
<link rel="alternate" type="application/rss+xml" title="" href='feed'>
- <link rel="stylesheet" type="text/css" href="main.css">
+ <link rel="stylesheet" type="text/css" href="/main.css">
</head>
<body>
<header>
R dst/main.css => build/main.css +0 -0
R => +0 -0
R dst/sitemap.xml => build/sitemap.xml +1 -1
@@ 4,5 4,5 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
-<url><loc>https://arena.adast.xyz/index.html</loc><lastmod>2023-05-19</lastmod><priority>1.0</priority></url>
+<url><loc>https://arena.adast.dk/index.html</loc><lastmod>2023-05-22</lastmod><priority>1.0</priority></url>
</urlset>
M => +1 -1
@@ 6,7 6,7 @@
<title></title>
<link rel="icon" type="image/x-icon" href="/favicon.ico">
<link rel="alternate" type="application/rss+xml" title="" href='feed'>
<link rel="stylesheet" type="text/css" href="main.css">
<link rel="stylesheet" type="text/css" href="/main.css">
</head>
<body>
<header>