about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNgô Ngọc Đức Huy <huyngo@disroot.org>2021-05-26 15:58:55 +0700
committerNgô Ngọc Đức Huy <huyngo@disroot.org>2021-05-26 15:58:55 +0700
commitea21040f0136e047970a41354f99fb2e702c5700 (patch)
tree911f87961d4dcc8186195982773f6bcf89b13dee
parentb28ed9b38d6ef3614b547a93f5e2ad7da3c38b0a (diff)
downloadblog-ea21040f0136e047970a41354f99fb2e702c5700.tar.gz
Use source instead of clone
-rw-r--r--.build.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/.build.yml b/.build.yml
index af42e72..20c5096 100644
--- a/.build.yml
+++ b/.build.yml
@@ -1,5 +1,8 @@
 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
@@ -7,12 +10,10 @@ environment:
   site: huyngo.srht.site
 tasks:
 - install: |
-    git clone https://git.sr.ht/~sircmpwn/openring
     cd openring
     go build -o openring
     sudo cp openring /usr/local/bin/
 - embed: | 
-    git clone https://git.disroot.org/huyngo/conlang
     cp -r conlang/src $site/content/conlang
     cd $site/content/conlang
     mv index.md _index.md