diff options
Diffstat (limited to '.build.yml')
-rw-r--r-- | .build.yml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/.build.yml b/.build.yml new file mode 100644 index 0000000..9fd55cc --- /dev/null +++ b/.build.yml @@ -0,0 +1,23 @@ +image: alpine/latest +oauth: pages.sr.ht/PAGES:RW +packages: +- go +- hut +- ruby-full +- ruby-dev +environment: +site: 1kb.club +sources: +- https://git.sr.ht/~bt/1kb-club +tasks: +- install-bundler: | + sudo gem install bundler +- build: | + cd 1kb-club + sudo bundle install + sudo bundle exec jekyll build +- package: | + cd 1kb-club/_site + tar -cvz . > ../../site.tar.gz +- upload: | + hut pages publish -d 1kb.club site.tar.gz
\ No newline at end of file |