about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNgô Ngọc Đức Huy <huyngo@disroot.org>2023-06-27 09:24:59 +0700
committerNgô Ngọc Đức Huy <huyngo@disroot.org>2023-06-27 09:24:59 +0700
commit74fdbc17f33a41682efc88c9718234972955170c (patch)
tree9dc71e9a222296a4e178c79a5b52b496a6abded1
parent6e31cca3eaaf534c43c63a8ce90964bbc86f83df (diff)
downloadblog-74fdbc17f33a41682efc88c9718234972955170c.tar.gz
Build dotgeek for xrvs.geek
-rw-r--r--.build.yml19
1 files changed, 13 insertions, 6 deletions
diff --git a/.build.yml b/.build.yml
index 8c9b47b..1217c5a 100644
--- a/.build.yml
+++ b/.build.yml
@@ -24,15 +24,22 @@ tasks:
     cd $site
     ./create-webring.sh
     hugo --baseURL="https://xrvs.net"
+    mv public dotnet
+    hugo --baseURL="http://xrvs.geek"
+    mv public dotgeek
 - package: |
     for conlang in haasdaiga ravna isanercent djanzi;
     do
-      mv "$conlang/book" "$site/public/$conlang"
+      cp "$conlang/book" "$site/dotnet/$conlang"
+      cp "$conlang/book" "$site/dotgeek/$conlang"
     done
-    mv web-cv "$site/public/cv"
-    cd "$site/public"
-    tar -cvz . > ../../site.tar.gz
+    cp web-cv "$site/dotnet/cv"
+    cp web-cv "$site/dotgeek/cv"
+    cd "$site/dotnet"
+    tar -cvz . > ../../dotnet.tar.gz
+    cd ../dotgeek
+    tar -cvz . > ../../dotgeek.tar.gz
 - upload: |
-    acurl -f https://pages.sr.ht/publish/$site -Fcontent=@site.tar.gz
+    acurl -f https://pages.sr.ht/publish/$site -Fcontent=@dotnet.tar.gz
 artifacts:
-  - site.tar.gz
+  - dotgeek.tar.gz