From 595edf0a2eb4c730bf6eb5f263dff88b5a7c8b78 Mon Sep 17 00:00:00 2001 From: Bradley Taunt Date: Mon, 1 Jul 2024 08:56:55 -0400 Subject: Add placeholder srht build file --- .build.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .build.yml (limited to '.build.yml') diff --git a/.build.yml b/.build.yml new file mode 100644 index 0000000..24b12e2 --- /dev/null +++ b/.build.yml @@ -0,0 +1,21 @@ +image: debian/stable +oauth: pages.sr.ht/PAGES:RW +packages: +- ruby-full +- ruby-dev +environment: +site: 1mb.club +sources: +- https://git.sr.ht/~bt/1mb-club +tasks: +- install-bundler: | + sudo gem install bundler +- build: | + cd 1mb-club + bundle install + bundle exec jekyll build +- package: | + cd 1mb-club/_site + tar -cvz . > ../../site.tar.gz +- upload: | + acurl -f https://pages.sr.ht/publish/$site -Fcontent=@site.tar.gz \ No newline at end of file -- cgit v1.2.3-54-g00ecf