aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.build.yml14
-rw-r--r--.gitignore2
-rw-r--r--build/favicon.ico (renamed from dst/favicon.ico)bin46927 -> 46927 bytes
-rw-r--r--build/index.html (renamed from dst/index.html)2
-rw-r--r--build/main.css (renamed from dst/main.css)0
-rw-r--r--build/rss.xml (renamed from dst/rss.xml)0
-rw-r--r--build/sitemap.xml (renamed from dst/sitemap.xml)2
-rw-r--r--src/_header.html2
8 files changed, 18 insertions, 4 deletions
diff --git a/.build.yml b/.build.yml
new file mode 100644
index 0000000..68c0e76
--- /dev/null
+++ b/.build.yml
@@ -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
diff --git a/.gitignore b/.gitignore
index e2e0bba..fc83353 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-dst/.files
+build/.files
diff --git a/dst/favicon.ico b/build/favicon.ico
index d537e87..d537e87 100644
--- a/dst/favicon.ico
+++ b/build/favicon.ico
Binary files differ
diff --git a/dst/index.html b/build/index.html
index 88eb329..70b828c 100644
--- a/dst/index.html
+++ b/build/index.html
@@ -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>
diff --git a/dst/main.css b/build/main.css
index 4d89bb6..4d89bb6 100644
--- a/dst/main.css
+++ b/build/main.css
diff --git a/dst/rss.xml b/build/rss.xml
index 76dbb16..76dbb16 100644
--- a/dst/rss.xml
+++ b/build/rss.xml
diff --git a/dst/sitemap.xml b/build/sitemap.xml
index 41e237a..c536f0a 100644
--- a/dst/sitemap.xml
+++ b/build/sitemap.xml
@@ -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>
diff --git a/src/_header.html b/src/_header.html
index 58fa742..f45e37a 100644
--- a/src/_header.html
+++ b/src/_header.html
@@ -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>