about summary refs log tree commit diff
path: root/.build.yml
diff options
context:
space:
mode:
authorNgô Ngọc Đức Huy <huyngo@disroot.org>2021-06-21 22:34:08 +0700
committerNgô Ngọc Đức Huy <huyngo@disroot.org>2021-06-21 22:34:08 +0700
commit65cbe24948eed00d2a013828832bdff0f50534eb (patch)
treed945abd6aeeddc0b5720c09d4d970bd2ce72d9fb /.build.yml
parent576342d50a409e90c83bfb86afbca78c16d19e93 (diff)
downloadblog-65cbe24948eed00d2a013828832bdff0f50534eb.tar.gz
Update post
Diffstat (limited to '.build.yml')
-rw-r--r--.build.yml31
1 files changed, 0 insertions, 31 deletions
diff --git a/.build.yml b/.build.yml
deleted file mode 100644
index 28e650d..0000000
--- a/.build.yml
+++ /dev/null
@@ -1,31 +0,0 @@
-image: debian/bullseye
-oauth: pages.sr.ht/PAGES:RW
-sources:
-  - https://git.sr.ht/~sircmpwn/openring
-  - https://git.disroot.org/huyngo/conlang
-packages:
-  - golang
-  - hugo
-environment:
-  site: huyngo.srht.site
-tasks:
-- install: |
-    cd openring
-    go build -o openring
-    sudo cp openring /usr/local/bin/
-- embed: | 
-    cp -r conlang/src $site/content/conlang
-    cd $site/content/conlang
-    mv index.md _index.md
-    sed "s/\//_/g" SUMMARY.md | sed "s/\._/.\//g" | sed "s/.md/\//g" | grep -v "Introduction" >> _index.md
-    rm SUMMARY.md
-    ../../preprocess.sh
-    find -type f | grep "sh$" | xargs rm
-- package: |
-    cd $site
-    ./create-webring.sh
-    hugo --baseURL="https://huyngo.srht.site"
-    cd public
-    tar -cvz . > ../../site.tar.gz
-- upload: |
-    acurl -f https://pages.sr.ht/publish/$site -Fcontent=@site.tar.gz