aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Stück <adam@adast.dk>2023-12-28 23:42:21 +0100
committerAdam Stück <adam@adast.dk>2023-12-28 23:42:21 +0100
commit0a70717fe9e303d755bffecaa3bb7b7febcb135f (patch)
treeafe79aee99d322c55d75a96d12fa95b40d10e64f
parent23f001c2206607c36ea406079b0607f1577b32fa (diff)
build.yml: build from source when deploying
-rw-r--r--.build.yml12
-rw-r--r--build/2021-05/index.html55
-rw-r--r--build/atom.xml39
-rw-r--r--build/index.html49
-rw-r--r--build/posts.tsv1
-rw-r--r--pages/placeholder.md (renamed from build/pages.tsv)0
-rw-r--r--public/placeholder0
7 files changed, 10 insertions, 146 deletions
diff --git a/.build.yml b/.build.yml
index 15983b6..4bfa816 100644
--- a/.build.yml
+++ b/.build.yml
@@ -2,11 +2,19 @@ image: alpine/edge
oauth: pages.sr.ht/PAGES:RW
packages:
- hut
+- rsync
+sources:
+ - https://git.sr.ht/~adamski/arena-web
+ - https://git.sr.ht/~bt/smu
environment:
site: arena.adast.dk
tasks:
+- smu: |
+ cd smu
+ sudo make install
- package: |
- cd arena-web/build
- tar -cvz . > ../../site.tar.gz
+ cd arena-web
+ make build
+ tar -C build -cvz . > ../site.tar.gz
- upload: |
hut pages publish -d $site site.tar.gz
diff --git a/build/2021-05/index.html b/build/2021-05/index.html
deleted file mode 100644
index 524eb9f..0000000
--- a/build/2021-05/index.html
+++ /dev/null
@@ -1,55 +0,0 @@
-<!doctype html>
-<html lang="en" id="top">
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <meta name="color-scheme" content="dark light">
- <link rel="icon" href="data:,">
- <title>Project introduction, May 2021</title>
- <link href="https://arena.adast.dk/atom.xml" type="application/atom+xml" rel="alternate" title="Atom feed for blog posts" />
- <style>*{box-sizing:border-box;}body{font-family:sans-serif;margin:0 auto;max-width:650px;padding:1rem;}img{max-width:100%;}pre{overflow:auto;}table{text-align:left;width:100%;}</style>
- </head>
-
- <nav>
- <a href="#menu">Menu &darr;</a>
- </nav>
-
- <main>
-<h1>Project introduction, May 2021</h1>
-<p>2021-05-07</p>
-<p><strong>arena</strong> (working title) is a multiplayer old-school arena shooter being made
-with the Unity game engine. It's a hobby project that I have been working on
-since 2016. It started as a <em>warmup</em> project before jumping into developing an
-MMO, but I have since learned how much work goes into making just a multiplayer
-fps. Especially as a solo project. </p>
-<p>At it's core, <strong>arena</strong> is supposed to be my attempt at recreating a mix of
-Quake 3 / Quake Live along with whatever else I decide to add. </p>
-<p>Main features (so far):</p>
-<ul>
-<li>p2p multiplayer</li>
-<li>support for custom maps</li>
-<li>vq3-like movement</li>
-<li>rocket launcher + rocket jumping</li>
-<li>health pickups</li>
-<li>3 gamemodes (FFA, TDM, Race)</li>
-</ul>
-<p>I'm in the process of rewriting a lot of systems in the game at the moment
-because I'm switching from janky p2p multiplayer to an authoritative server
-setup with client-side prediction
-<a href="https://www.gabrielgambetta.com/client-server-game-architecture.html">(more)</a>.</p>
-<footer role="contentinfo">
- <hr>
- <h3 id="menu">Menu Navigation</h3>
- <ul>
- <li><a href="/">Home</a></li>
- <li><a href="https://tv.adast.dk/c/arena/videos">Videos</a></li>
- <li><a href="/atom.xml">RSS</a></li>
- <li><a href="#top">&uarr; Top of the page</a></li>
- </ul>
- <small>
- Built with <a href="https://git.sr.ht/~bt/barf">barf</a>. <br>
- Maintained with ♥ for the web. <br>
- The content for this site is <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC-BY-SA</a>.<br>
- The <a href="https://git.sr.ht/~adamski/arena-web">code for this site</a> is <a href="https://git.sr.ht/~adamski/arena-web/tree/main/item/LICENSE">MIT</a>.
- </small>
-</footer>
diff --git a/build/atom.xml b/build/atom.xml
deleted file mode 100644
index 3210d9f..0000000
--- a/build/atom.xml
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<feed xmlns="http://www.w3.org/2005/Atom">
- <title>arena: Quake-like multiplayer shooter </title>
- <link href="https://arena.adast.dk/atom.xml" rel="self" />
- <updated>2023-12-26T19:48:12Z</updated>
- <author>
- <name>Adam Stück</name>
- </author>
- <id>https://arena.adast.dk,2022-04-23:default-atom-feed/</id>
- <entry>
- <title>Project introduction, May 2021</title>
- <content type="html">&lt;h1&gt;Project introduction, May 2021&lt;/h1&gt;
-&lt;p&gt;2021-05-07&lt;/p&gt;
-&lt;p&gt;&lt;strong&gt;arena&lt;/strong&gt; (working title) is a multiplayer old-school arena shooter being made
-with the Unity game engine. It&#39;s a hobby project that I have been working on
-since 2016. It started as a &lt;em&gt;warmup&lt;/em&gt; project before jumping into developing an
-MMO, but I have since learned how much work goes into making just a multiplayer
-fps. Especially as a solo project. &lt;/p&gt;
-&lt;p&gt;At it&#39;s core, &lt;strong&gt;arena&lt;/strong&gt; is supposed to be my attempt at recreating a mix of
-Quake 3 / Quake Live along with whatever else I decide to add. &lt;/p&gt;
-&lt;p&gt;Main features (so far):&lt;/p&gt;
-&lt;ul&gt;
-&lt;li&gt;p2p multiplayer&lt;/li&gt;
-&lt;li&gt;support for custom maps&lt;/li&gt;
-&lt;li&gt;vq3-like movement&lt;/li&gt;
-&lt;li&gt;rocket launcher + rocket jumping&lt;/li&gt;
-&lt;li&gt;health pickups&lt;/li&gt;
-&lt;li&gt;3 gamemodes (FFA, TDM, Race)&lt;/li&gt;
-&lt;/ul&gt;
-&lt;p&gt;I&#39;m in the process of rewriting a lot of systems in the game at the moment
-because I&#39;m switching from janky p2p multiplayer to an authoritative server
-setup with client-side prediction
-&lt;a href=&quot;https://www.gabrielgambetta.com/client-server-game-architecture.html&quot;&gt;(more)&lt;/a&gt;.&lt;/p&gt;</content>
- <link href="https://arena.adast.dk/2021-05"/>
- <id>https://arena.adast.dk/2021-05</id>
- <updated>2021-05-07T10:00:00Z</updated>
- <published>2021-05-07T10:00:00Z</published>
- </entry>
-</feed>
diff --git a/build/index.html b/build/index.html
deleted file mode 100644
index 477a6a0..0000000
--- a/build/index.html
+++ /dev/null
@@ -1,49 +0,0 @@
-<!doctype html>
-<html lang="en" id="top">
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <meta name="color-scheme" content="dark light">
- <link rel="icon" href="data:,">
- <title>arena: Quake-like multiplayer shooter </title>
- <link href="https://arena.adast.dk/atom.xml" type="application/atom+xml" rel="alternate" title="Atom feed for blog posts" />
- <style>*{box-sizing:border-box;}body{font-family:sans-serif;margin:0 auto;max-width:650px;padding:1rem;}img{max-width:100%;}pre{overflow:auto;}table{text-align:left;width:100%;}</style>
- </head>
-
- <nav>
- <a href="#menu">Menu &darr;</a>
- </nav>
-
- <main>
-<h1>arena: Quake-like multiplayer shooter </h1>
-<p><strong>arena</strong> is a old-school arena shooter being made by me, <a href="https://adast.dk">Adam
-Stück</a>. </p>
-<ul>
-<li><a href="https://tv.adast.dk/c/arena/videos">Gameplay clips</a></li>
-<li><a href="https://trello.com/b/ycQyrouQ">Follow my progress</a></li>
-</ul>
-<h2>Updates</h2>
-<blockquote><p>📢 <strong>arena</strong> is currently on hiatus. I am hoping to do a
-complete open-source rewrite using the <a href="https://godotengine.org">Godot game
-engine</a>.<br>
-~ <em>2023-12-17</em></p>
-</blockquote>
-<ul>
-<li>2021-05-07 &middot; <a href="2021-05/">Project introduction, May 2021</a></li>
-</ul>
-<footer role="contentinfo">
- <hr>
- <h3 id="menu">Menu Navigation</h3>
- <ul>
- <li><a href="/">Home</a></li>
- <li><a href="https://tv.adast.dk/c/arena/videos">Videos</a></li>
- <li><a href="/atom.xml">RSS</a></li>
- <li><a href="#top">&uarr; Top of the page</a></li>
- </ul>
- <small>
- Built with <a href="https://git.sr.ht/~bt/barf">barf</a>. <br>
- Maintained with ♥ for the web. <br>
- The content for this site is <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC-BY-SA</a>.<br>
- The <a href="https://git.sr.ht/~adamski/arena-web">code for this site</a> is <a href="https://git.sr.ht/~adamski/arena-web/tree/main/item/LICENSE">MIT</a>.
- </small>
-</footer>
diff --git a/build/posts.tsv b/build/posts.tsv
deleted file mode 100644
index e7ebf56..0000000
--- a/build/posts.tsv
+++ /dev/null
@@ -1 +0,0 @@
-posts/2021-05.md Project introduction, May 2021
diff --git a/build/pages.tsv b/pages/placeholder.md
index e69de29..e69de29 100644
--- a/build/pages.tsv
+++ b/pages/placeholder.md
diff --git a/public/placeholder b/public/placeholder
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/public/placeholder