aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBradley Taunt <bt@btxx.org>2024-07-06 07:49:47 -0400
committerBradley Taunt <bt@btxx.org>2024-07-06 07:49:47 -0400
commit80dcfd3c693f756c89f882a3f508f77ad6911c2b (patch)
tree99025a5e339a56de3890a47c15a4f4a2a2cb2d0d
parent85122f2ee05133f2635dd0554e33fc24b7104067 (diff)
Add build config
-rw-r--r--.build.yaml21
-rw-r--r--footer.html2
-rw-r--r--index.md2
3 files changed, 23 insertions, 2 deletions
diff --git a/.build.yaml b/.build.yaml
new file mode 100644
index 0000000..992be5f
--- /dev/null
+++ b/.build.yaml
@@ -0,0 +1,21 @@
+image: alpine/latest
+oauth: pages.sr.ht/PAGES:RW
+packages:
+- rsync
+- coreutils
+- lowdown
+- go
+- hut
+environment:
+site: barf.btxx.org
+sources:
+- https://git.sr.ht/~bt/barf
+tasks:
+- build: |
+ cd barf
+ make build
+- package: |
+ cd barf/build
+ tar -cvz . > ../../site.tar.gz
+- upload: |
+ hut pages publish -d barf.btxx.org site.tar.gz \ No newline at end of file
diff --git a/footer.html b/footer.html
index 4f67518..d722613 100644
--- a/footer.html
+++ b/footer.html
@@ -5,7 +5,7 @@
<li><a href="/">Home</a></li>
<li><a href="/about">About</a></li>
<li><a href="/websites">Websites</a></li>
- <li><a href="https://git.btxx.org/barf">Source Code</a></li>
+ <li><a href="https://git.sr.ht/~bt/barf">Source Code</a></li>
</ul>
<small>
Feeds: <a href="/atom.xml">Atom</a> | <a href="/rss.xml">RSS</a> <br>
diff --git a/index.md b/index.md
index b52219b..4d60d42 100644
--- a/index.md
+++ b/index.md
@@ -6,7 +6,7 @@ The entire build script is >170 lines of shell.
It could almost be called "suckless", but probably isn't. It was created for those focused on writing, not tinkering.
-You can learn more by reading the [official README](https://git.btxx.org/barf/about).
+You can learn more by reading the [official README](https://git.sr.ht/~bt/barf).
**barf** = blogs are really fun