From eb33930a0517eba6ee9b855c977be2c2057be3bf Mon Sep 17 00:00:00 2001 From: DTB Date: Mon, 11 Sep 2023 23:25:24 -0400 Subject: [PATCH] build script for both --- .build.yml | 15 +++++++++++++++ wiki/.build.yml | 19 ------------------- www/.build.yml | 11 ----------- 3 files changed, 15 insertions(+), 30 deletions(-) create mode 100644 .build.yml delete mode 100644 wiki/.build.yml delete mode 100644 www/.build.yml diff --git a/.build.yml b/.build.yml new file mode 100644 index 0000000..5a21769 --- /dev/null +++ b/.build.yml @@ -0,0 +1,15 @@ +image: alpine/edge +oauth: pages.sr.ht/PAGES:RW +packages: +- hut +- m4 +tasks: +- build: | + make -C murderu.us/wiki +- package: | + >www.tar.gz tar cvz -C murderu.us/www . + >wiki.tar.gz tar cvz -C murderu.us/wiki --exclude '*.mk' --exclude '*.m4' . + ls -l +- upload: | + hut pages publish -d murderu.us www.tar.gz + hut pages publish -d be.murderu.us wiki.tar.gz diff --git a/wiki/.build.yml b/wiki/.build.yml deleted file mode 100644 index d56f99e..0000000 --- a/wiki/.build.yml +++ /dev/null @@ -1,19 +0,0 @@ -image: alpine/edge -oauth: pages.sr.ht/PAGES:RW -packages: -- hut -- m4 -tasks: -- build: | - cd wiki - make -- package: | - cd wiki - tar cvz \ - --exclude .git \ - --exclude '*.m4' \ - --exclude '*.mk' \ - . >../site.tar.gz - ls -l ../site.tar.gz -- upload: | - hut pages publish -d be.murderu.us site.tar.gz diff --git a/www/.build.yml b/www/.build.yml deleted file mode 100644 index 9290743..0000000 --- a/www/.build.yml +++ /dev/null @@ -1,11 +0,0 @@ -image: alpine/edge -oauth: pages.sr.ht/PAGES:RW -packages: -- hut -tasks: -- package: | - cd murderu.us - tar cvz --exclude .git . >../site.tar.gz - ls -l ../site.tar.gz -- upload: - hut pages publish -d murderu.us site.tar.gz