1 files changed, 5 insertions(+), 3 deletions(-)
M .build.yml
M .build.yml => .build.yml +5 -3
@@ 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