image: alpine/latest oauth: pages.sr.ht/PAGES:RW packages: - ruby - ruby-dev - go - hut environment: site: jsfree.org sources: - https://git.sr.ht/~bt/jsfree.org tasks: - install-gems: | sudo gem install bundler 'kramdown:2.4.0' 'rss:0.3.0' - build: | cd jsfree.org sudo make build - package: | cd jsfree.org/build tar -cvz . > ../../site.tar.gz - upload: | hut pages publish -d jsfree.org site.tar.gz