diff options
author | Ngô Ngọc Đức Huy <huyngo@disroot.org> | 2021-03-14 14:16:02 +0700 |
---|---|---|
committer | Ngô Ngọc Đức Huy <huyngo@disroot.org> | 2021-03-14 14:16:02 +0700 |
commit | 5b264ffb30b74250113fb3149d3766203f392390 (patch) | |
tree | a7f3fd4162dd0d09704f255850a94d4818416a65 /.build.yml | |
parent | 3beb2135e3d3b0c043dd7f91f1ca11860ad82d84 (diff) | |
download | blog-5b264ffb30b74250113fb3149d3766203f392390.tar.gz |
Do thing the less stupid way
Diffstat (limited to '.build.yml')
-rw-r--r-- | .build.yml | 8 |
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 |