diff options
author | bt <bt@btxx.org> | 2024-07-06 12:43:34 -0400 |
---|---|---|
committer | bt <bt@btxx.org> | 2024-07-06 12:43:34 -0400 |
commit | e010ef08b4fa4c5ac8123532cb50b5cb0cb58648 (patch) | |
tree | c3787fcd11a713c8ee4227c9edc8a23037c51c0b | |
parent | b4977892e64ab45bf307fe9bcbe61a57b72b40d0 (diff) |
revert back to alpine image for builds
-rw-r--r-- | .build.yml | 18 | ||||
-rwxr-xr-x | barf | 13 |
2 files changed, 8 insertions, 23 deletions
@@ -1,22 +1,16 @@ -image: openbsd/latest +image: alpine/latest oauth: pages.sr.ht/PAGES:RW packages: -- coreutils-- -- gsed-- -- cmake-- -- gcc-- -- lowdown-- -- go-- +- coreutils +- rsync +- lowdown +- go +- hut environment: site: bt.srht.site sources: - https://git.sr.ht/~bt/btxx.org tasks: -- install-hut: | - git clone https://git.sr.ht/~xenrox/hut - cd hut - make - doas make install - build: | cd btxx.org make build @@ -2,17 +2,8 @@ domain="https://btxx.org" -# Check the operating system -os_name=$(uname -s) - -if [ "$os_name" = "OpenBSD" ]; then - alias sed=gsed - alias date=gdate - alias rsync=openrsync -elif [ "$os_name" = "Darwin" ]; then - alias sed=gsed - alias date=gdate -fi +alias sed=gsed +alias date=gdate set -eu MARKDOWN=lowdown |