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-03-14 14:16:02 +0700
committerNgô Ngọc Đức Huy <huyngo@disroot.org>2021-03-14 14:16:02 +0700
commit5b264ffb30b74250113fb3149d3766203f392390 (patch)
treea7f3fd4162dd0d09704f255850a94d4818416a65 /.build.yml
parent3beb2135e3d3b0c043dd7f91f1ca11860ad82d84 (diff)
downloadblog-5b264ffb30b74250113fb3149d3766203f392390.tar.gz
Do thing the less stupid way
Diffstat (limited to '.build.yml')
-rw-r--r--.build.yml8
1 files changed, 5 insertions, 3 deletions
diff --git a/.build.yml b/.build.yml
index 4a5cb50..f0c0b5f 100644
--- a/.build.yml
+++ b/.build.yml
@@ -1,19 +1,21 @@
 image: debian/bullseye
 oauth: pages.sr.ht/PAGES:RW
+packages:
+  - ruby-full
+  - golang
 environment:
   site: huyngo.srht.site
 tasks:
 - install: |
-    yes | sudo apt install ruby-full golang
-    sudo gem install jekyll bundler
+    gem install --user-install jekyll bundler
     git clone https://git.sr.ht/~sircmpwn/openring
     cd openring
     go build -o openring
     sudo cp openring /usr/local/bin/
 - package: |
     cd $site
+    bundle install
     ./create-webring.sh
-    bundle update
     bundle exec jekyll build
     cd _site
     tar -cvz . > ../../site.tar.gz